blob: f85acc7c17e12f3cb34263262ee5146bdae4268d [file] [log] [blame]
Willy Tarreau45cb4fb2009-10-26 21:10:04 +01001EBTREE_DIR = ../../ebtree
2INCLUDE = -I$(EBTREE_DIR)
3OPTIMIZE = -O3 #-mtune=pentium-m
Willy Tarreau72c28532009-01-22 18:56:50 +01004
Willy Tarreau214c2032009-02-20 11:02:32 +01005OBJS = halog halog64
6
7halog: halog.c fgets2.c
Willy Tarreau45cb4fb2009-10-26 21:10:04 +01008 $(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $^
Willy Tarreau72c28532009-01-22 18:56:50 +01009
Willy Tarreau214c2032009-02-20 11:02:32 +010010halog64: halog.c fgets2-64.c
Willy Tarreau45cb4fb2009-10-26 21:10:04 +010011 $(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $^
Willy Tarreau72c28532009-01-22 18:56:50 +010012
13clean:
14 rm -vf $(OBJS)