Moved rapidjson (makefile adaptation).
This commit is contained in:
parent
31dd75e620
commit
f7531d6a81
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue