- Makefiles now respect external CFLAGS and LDFLAGS. Closes ticket #2
diff --git a/programs/Makefile b/programs/Makefile
index 025d8f5..9ad47ec 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -3,9 +3,9 @@
# To compile on MinGW: add "-lws2_32" to LDFLAGS
# To compile with PKCS11: add "-lpkcs11-helper" to LDFLAGS
-CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-statement
+CFLAGS += -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-statement
OFLAGS = -O
-LDFLAGS = -L../library -lpolarssl
+LDFLAGS += -L../library -lpolarssl
APPS = aes/aescrypt2 aes/crypt_and_hash \
hash/hello hash/generic_sum \