Update Makefile with new targets.
This commit is contained in:
1 parent
28af3522d1
commit
9b90ada06d
1 file changed
+4
-2
+4
-2
@@ -6,7 +6,7 @@ N=4
|
|||||||
|
|
||||||
all: benchmark bench-plain
|
all: benchmark bench-plain
|
||||||
|
|
||||||
benchmark: bench-mlib bench-mlib-mempool bench-stl bench-klib bench-qt bench-glib bench-libdynamic bench-sparsepp
|
benchmark: bench-mlib bench-mlib-mempool bench-stl bench-klib bench-qt bench-glib bench-libdynamic bench-sparsepp bench-collectionc bench-tommyds bench-flathashmap bench-hopscotchmap
|
||||||
|
|
||||||
bench-mlib:
|
bench-mlib:
|
||||||
$(CC) $(CFLAGS) $(CPPFLAGS) -pthread bench-mlib.c -o bench-mlib.exe
|
$(CC) $(CFLAGS) $(CPPFLAGS) -pthread bench-mlib.c -o bench-mlib.exe
|
||||||
@@ -133,7 +133,7 @@ bench-flathashmap0:
|
|||||||
@./bench-flathashmap.exe 42
|
@./bench-flathashmap.exe 42
|
||||||
@./bench-flathashmap.exe 43
|
@./bench-flathashmap.exe 43
|
||||||
|
|
||||||
# HOPSCOTCHMAP shall point to the directory where the headers are
|
# HOPSCOTCHMAP shall point to the directory where the source are
|
||||||
bench-hopscotchmap:
|
bench-hopscotchmap:
|
||||||
if test -n "$${HOPSCOTCHMAP}" ; then make bench-hopscotchmap0 ; else echo "Nothing to be done." ; fi
|
if test -n "$${HOPSCOTCHMAP}" ; then make bench-hopscotchmap0 ; else echo "Nothing to be done." ; fi
|
||||||
|
|
||||||
@@ -143,6 +143,8 @@ bench-hopscotchmap0:
|
|||||||
@./bench-hopscotchmap.exe 42
|
@./bench-hopscotchmap.exe 42
|
||||||
@./bench-hopscotchmap.exe 43
|
@./bench-hopscotchmap.exe 43
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
|
||||||
bench-plain:
|
bench-plain:
|
||||||
$(CC) $(CFLAGS) $(CPPFLAGS) bench-plain-c.c -o bench-plain-c.exe
|
$(CC) $(CFLAGS) $(CPPFLAGS) bench-plain-c.c -o bench-plain-c.exe
|
||||||
@./bench-plain-c.exe
|
@./bench-plain-c.exe
|
||||||
|
|||||||
Reference in new issue
Block a user