From 0af63017da578e5838f9b9dde6fdcc58f71fb235 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 22 Jan 2019 15:44:00 +0100 Subject: Add ninja build files and configure script, remove makefile --- makefile | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile deleted file mode 100644 index ed5420a..0000000 --- a/makefile +++ /dev/null @@ -1,27 +0,0 @@ -# Compiler -CPP := c++ -CFLAGS := -Wall -pedantic -std=c++17 -fPIC -shared -I include -DDEBUG -DWRAPSDL2_EXCEPTIONS -LFLAGS := -lSDL2 - -SRCS := $(wildcard *.cpp) -OBJS := $(patsubst %.cpp,build/%.o,$(SRCS)) - -# Recipes -all: build/libwrapsdl2.so - $(MAKE) -C test - -.PHONY: test-all -.ONESHELL: -test-all: - cd test - ./build/window_test - - -build/libwrapsdl2.so: $(OBJS) - $(CPP) $(CFLAGS) -o $@ $(LFLAGS) $(OBJS) - -build/%.o: %.cpp build - $(CPP) $(CFLAGS) -o $@ -c $< - -build: - mkdir -p build -- cgit v1.2.1