summaryrefslogtreecommitdiffstats
path: root/test/makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/makefile23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/makefile b/test/makefile
deleted file mode 100644
index a2d6800..0000000
--- a/test/makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# Compiler
-CPP := c++
-CFLAGS := -Wall -pedantic -std=c++17 -fPIC -I ../include -DDEBUG
-LFLAGS := ../build/libwrapsdl2.so -lSDL2 -lpthread
-
-SRCS := $(wildcard *.cpp)
-OBJS := $(patsubst %.cpp,build/%.o,$(SRCS))
-
-# Recipes
-all: build/window_test
-
-.PHONY: run
-run: build/window_test
- ./build/window_test
-
-build/window_test: build/window_test.o
- $(CPP) $(CFLAGS) -o $@ $< $(LFLAGS)
-
-build/%.o: %.cpp build
- $(CPP) $(CFLAGS) -o $@ -c $<
-
-build:
- mkdir -p build