forked from technicolor-research/cuckoopp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
18 lines (12 loc) · 895 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: __apps
__apps : __hash_perf __hash_stats __hash_cpp
__libs:
make -f lib/librte_tch_hash/Makefile S=lib/librte_tch_hash O=build
__hash_perf: __libs
make -f apps/hash-perf/Makefile S=apps/hash-perf O=build EXTRA_CFLAGS="-I$(CURDIR)/build/include -L$(CURDIR)/build/lib" EXTRA_CPPFLAGS=-I$(CURDIR)/build/include EXTRA_LDFLAGS="-L$(CURDIR)/build/lib -lrte_tch_hash -lm" V=1
__hash_stats: __libs
make -f apps/hash-stats/Makefile S=apps/hash-stats O=build EXTRA_CFLAGS="-I$(CURDIR)/build/include -L$(CURDIR)/build/lib" EXTRA_CPPFLAGS=-I$(CURDIR)/build/include EXTRA_LDFLAGS="-L$(CURDIR)/build/lib -lrte_tch_hash -lm" V=1
__hash_cpp: __libs
make -f apps/hash-cpp/Makefile S=apps/hash-cpp O=build EXTRA_CXXFLAGS="-I$(CURDIR)/build/include -L$(CURDIR)/build/lib" EXTRA_CPPFLAGS=-I$(CURDIR)/build/include EXTRA_LDFLAGS="-L$(CURDIR)/build/lib -lrte_tch_hash -lm" V=1
clean:
rm -rf build