summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-06-22 09:22:05 -0700
committerMichael Pavone <pavone@retrodev.com>2015-06-22 09:22:05 -0700
commit130254db3165ed9c34a860f6d340521b45194e0e (patch)
treef766a77efbcb51dfe36fb4232056adaae23e638b
parent4fbc40d176ff6c872ea39fd743349077dbcbf6fd (diff)
Fix check for DEBUG in Makefile
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eed9d6d..8c51ce8 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ else
LIBS=sdl2 glew gl
endif #Darwin
-ifdef DEBUGW
+ifdef DEBUG
CFLAGS:=-ggdb -std=gnu99 $(shell pkg-config --cflags-only-I $(LIBS)) -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration
LDFLAGS:=-ggdb -lm $(shell pkg-config --libs $(LIBS))
else