1 CFLAGS=-Wall -Werror -O3 -I../../..
2 #CFLAGS=-Wall -Werror -g -I../../..
4 all: speed stringspeed hsearchspeed
8 speed.o: speed.c ../htable.h ../htable.c
10 hash.o: ../../hash/hash.c
11 $(CC) $(CFLAGS) -c -o $@ $<
13 stringspeed: stringspeed.o hash.o ../../talloc.o ../../str_talloc.o ../../grab_file.o ../../str.o ../../time.o ../../noerr.o
15 stringspeed.o: speed.c ../htable.h ../htable.c
17 hsearchspeed: hsearchspeed.o ../../talloc.o ../../str_talloc.o ../../grab_file.o ../../str.o ../../time.o ../../noerr.o
20 rm -f stringspeed speed hsearchspeed *.o