- Makefiles now respect external CFLAGS and LDFLAGS. Closes ticket #2
diff --git a/tests/Makefile b/tests/Makefile
index af4a7c4..8b80b3e 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -3,11 +3,11 @@
# 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 \
-Wno-unused-function -Wno-unused-value
OFLAGS = -O
-LDFLAGS = -L../library -lpolarssl
+LDFLAGS += -L../library -lpolarssl
APPS = test_suite_aes test_suite_arc4 \
test_suite_base64 test_suite_camellia \