]> git.ozlabs.org Git - ccan/blobdiff - ccan/htable/tools/Makefile
htable: benchmark against hsearch(3)
[ccan] / ccan / htable / tools / Makefile
index 289d92b33532a8b09b8ba5e608f8102c7de86f5e..a21c51cb55ea12819a050984dc2d35feeaf89406 100644 (file)
@@ -1,7 +1,7 @@
 CFLAGS=-Wall -Werror -O3 -I../../..
 #CFLAGS=-Wall -Werror -g -I../../..
 
-all: speed stringspeed
+all: speed stringspeed hsearchspeed
 
 speed: speed.o hash.o
 
@@ -14,5 +14,7 @@ stringspeed: stringspeed.o hash.o ../../talloc.o ../../str_talloc.o ../../grab_f
 
 stringspeed.o: speed.c ../htable.h ../htable.c
 
+hsearchspeed: hsearchspeed.o ../../talloc.o ../../str_talloc.o ../../grab_file.o ../../str.o ../../time.o ../../noerr.o
+
 clean:
-       rm -f stringspeed speed
+       rm -f stringspeed speed hsearchspeed *.o