diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-06-18 14:27:09 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-06-18 14:27:09 +0200 |
commit | b2e49f75d5668f42260dd058376c2de7be53062f (patch) | |
tree | 67ef25eee37c2904028edc3a2b62c14c46abe034 | |
parent | 8e59d2f0e102476c0dbd897661860666c12e8aa6 (diff) | |
download | mupdf-b2e49f75d5668f42260dd058376c2de7be53062f.tar.xz |
Add DEBUG and NDEBUG preprocessor defines when building debug and release modes, respectively.
-rw-r--r-- | Makerules | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,11 +10,11 @@ LD := $(CC) AR := ar ifeq "$(build)" "debug" -CFLAGS += -g -O0 +CFLAGS += -g -O0 -DDEBUG endif ifeq "$(build)" "release" -CFLAGS += -O3 +CFLAGS += -O3 -DNDEBUG endif ifeq "$(OS)" "Linux" |