]> git.ozlabs.org Git - ccan/blob - ccan/htable/tools/Makefile
failtest: use high-numbers file descriptors to stay out of the way.
[ccan] / ccan / htable / tools / Makefile
1 CFLAGS=-Wall -Werror -O3 -I../../..
2 #CFLAGS=-Wall -Werror -g -I../../..
3
4 all: speed stringspeed hsearchspeed
5
6 speed: speed.o hash.o
7
8 speed.o: speed.c ../htable.h ../htable.c
9
10 hash.o: ../../hash/hash.c
11         $(CC) $(CFLAGS) -c -o $@ $<
12
13 stringspeed: stringspeed.o hash.o ../../talloc.o ../../str_talloc.o ../../grab_file.o ../../str.o ../../time.o ../../noerr.o
14
15 stringspeed.o: speed.c ../htable.h ../htable.c
16
17 hsearchspeed: hsearchspeed.o ../../talloc.o ../../str_talloc.o ../../grab_file.o ../../str.o ../../time.o ../../noerr.o
18
19 clean:
20         rm -f stringspeed speed hsearchspeed *.o