- Added automatic debug flags to CFLAGS if DEBUG is set in shell

This commit is contained in:
Paul Bakker 2012-04-05 12:08:29 +00:00
parent f9964abe7c
commit c7ffd36a97
3 changed files with 13 additions and 1 deletions

View file

@ -7,6 +7,10 @@ CFLAGS += -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-state
OFLAGS = -O
LDFLAGS += -L../library -lpolarssl $(SYS_LDFLAGS)
ifdef DEBUG
CFLAGS += -g3
endif
APPS = aes/aescrypt2 aes/crypt_and_hash \
hash/hello hash/generic_sum \
hash/md5sum hash/sha1sum \