Moved rapidjson (makefile adaptation).

This commit is contained in:
Daniel Lemire 2018-07-28 20:38:23 -04:00
parent 31dd75e620
commit f7531d6a81
1 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,11 @@
HEADERS:=include/avxprocessing.h include/benchmark.h include/common_defs.h include/jsonstruct.h include/ include/util.h HEADERS:=include/avxprocessing.h include/benchmark.h include/common_defs.h include/jsonstruct.h include/ include/util.h
bench: benchmarks/bench.cpp rapidjson/license.txt $(HEADERS)
$(CXX) -std=c++11 -O3 -o $@ benchmarks/bench.cpp -Irapidjson/include -Iinclude -march=native -lm -Wall -Wextra -Wno-narrowing
rapidjson/license.txt: RAPIDJSON_INCLUDE:=../dependencies/rapidjson/include
bench: benchmarks/bench.cpp $(RAPIDJSON_INCLUDE) $(HEADERS)
$(CXX) -std=c++11 -O3 -o $@ benchmarks/bench.cpp -I$(RAPIDJSON_INCLUDE) -Iinclude -march=native -lm -Wall -Wextra -Wno-narrowing
$(RAPIDJSON_INCLUDE):
git submodule update --init --recursive git submodule update --init --recursive
clean: clean: