]> git.localhorst.tv Git - blank.git/blobdiff - Makefile
outline pointed-at block
[blank.git] / Makefile
index a3855ad93cb49686db1cd3ed3458ff14d073dabb..20b02e9a8f2e025aaacba01869174ad369be1a38 100644 (file)
--- 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)