mirror of
https://github.com/google/brotli.git
synced 2024-12-29 03:01:16 +00:00
5da7e37a06
- 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.
20 lines
284 B
Makefile
20 lines
284 B
Makefile
#brotli/tests
|
|
|
|
include ../shared.mk
|
|
|
|
BROTLI = ..
|
|
|
|
all: test
|
|
|
|
test: deps
|
|
./compatibility_test.sh
|
|
./roundtrip_test.sh
|
|
|
|
deps :
|
|
$(MAKE) -C $(BROTLI)/tools
|
|
|
|
clean :
|
|
rm -f testdata/*.{bro,unbro,uncompressed}
|
|
rm -f $(BROTLI)/{enc,dec,tools}/*.{un,}bro
|
|
$(MAKE) -C $(BROTLI)/tools clean
|