diff options
author | Pixel <pixel@nobis-crew.org> | 2011-10-17 20:51:55 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-10-17 20:51:55 -0700 |
commit | b4e4b293d56533f40a4e0dba8afd496ccb6497b7 (patch) | |
tree | 4f4ca1efdba94fb9c5e67b04b22f30b2f62a2ea7 /Makefile | |
parent | 953a4572e09a05dab4487b75eeb1f267b9e22c3a (diff) |
Adding the debug / non-debug defines from the Makefile, and avoiding pointer aliasing.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -14,10 +14,12 @@ AR = ar rcs BINEXT = bin +CPPFLAGS += -fno-strict-aliasing + ifeq ($(DEBUG),) -CPPFLAGS += -O3 +CPPFLAGS += -O3 -DNDEBUG else -CPPFLAGS += -g +CPPFLAGS += -g -DDEBUG LDFLAGS += -g endif |