X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=Makefile;h=20b02e9a8f2e025aaacba01869174ad369be1a38;hb=2d8c7c015478a4528c0909f11d43998b1393948d;hp=a3855ad93cb49686db1cd3ed3458ff14d073dabb;hpb=918b4955c28fad1836a57ab3e9e033448144996c;p=blank.git diff --git a/Makefile b/Makefile index a3855ad..20b02e9 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CXX = g++ --std=c++11 LDXX = g++ -LIBS = sdl2 glew +LIBS = sdl2 SDL2_image glew PKGFLAGS := $(shell pkg-config --cflags $(LIBS)) PKGLIBS := $(shell pkg-config --libs $(LIBS)) @@ -13,6 +13,12 @@ CXXFLAGS += -Wall LDXXFLAGS ?= LDXXFLAGS += $(PKGLIBS) +# debug +CXXFLAGS += -g3 -O0 + +# release +#CPPFLAGS += -DNDEBUG + SRC = $(wildcard src/*.cpp) OBJ = $(SRC:.cpp=.o) DEP = $(SRC:.cpp=.d)