commit | c7ffd36a97681790301eb8c0d9ba23377c4c9fd8 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Thu Apr 05 12:08:29 2012 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Apr 05 12:08:29 2012 +0000 |
tree | 0694a7b9d9b497bba14316c1e2424f218f85076d | |
parent | f9964abe7c7284b179fdb8a65689294a45d7c6de [diff] [blame] |
- Added automatic debug flags to CFLAGS if DEBUG is set in shell
diff --git a/programs/Makefile b/programs/Makefile index 7027743..e6771ce 100644 --- a/programs/Makefile +++ b/programs/Makefile
@@ -7,6 +7,10 @@ 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 \