Add C++ compatibility test for examples/
This commit is contained in:
parent
1b0a501a19
commit
2fbf12add7
@ -95,6 +95,11 @@ test : all $(LZ4)
|
||||
./frameCompress$(EXT) $(TESTFILE)
|
||||
$(LZ4) -vt $(TESTFILE).lz4
|
||||
|
||||
.PHONY: cxxtest
|
||||
cxxtest: CFLAGS := -O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror
|
||||
cxxtest: clean
|
||||
CC=$(CXX) $(MAKE) -C . all CFLAGS="$(CFLAGS)"
|
||||
|
||||
clean:
|
||||
@rm -f core *.o *.dec *-0 *-9 *-8192 *.lz4s *.lz4 \
|
||||
printVersion$(EXT) doubleBuffer$(EXT) dictionaryRandomAccess$(EXT) \
|
||||
|
Loading…
Reference in New Issue
Block a user