aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2015-03-13 18:00:28 +0300
committerDmitry Shachnev <mitya57@gmail.com>2015-03-14 14:31:44 +0300
commit5da7e37a064724810fcb747f40daf23e3c1d37f4 (patch)
treec6be9cb5b5ac37053d555f8e206f94df2e76c356 /tests
parentca29aa22c295daac15baf5d85427ecc7808b515c (diff)
downloadbrotli-5da7e37a064724810fcb747f40daf23e3c1d37f4.zip
brotli-5da7e37a064724810fcb747f40daf23e3c1d37f4.tar.gz
brotli-5da7e37a064724810fcb747f40daf23e3c1d37f4.tar.bz2
Makefile fixes and cleanups
- Distinguish between CC/CFLAGS, CPP/CPPFLAGS and CXX/CXXFLAGS. Do not store compiler flags in CPPFLAGS, which is for preprocessor, and do not try to link files using a preprocessor. - Use COMMON_FLAGS for flags that are for both C and C++. - Drop -m64 flag which is wrong on 32-bit systems. - Use $(MAKE) instead of make, so that parallel building works.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index a62db2d..8b2eedb 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -11,9 +11,9 @@ test: deps
./roundtrip_test.sh
deps :
- make -C $(BROTLI)/tools
+ $(MAKE) -C $(BROTLI)/tools
clean :
rm -f testdata/*.{bro,unbro,uncompressed}
rm -f $(BROTLI)/{enc,dec,tools}/*.{un,}bro
- make -C $(BROTLI)/tools clean
+ $(MAKE) -C $(BROTLI)/tools clean