blob: 75c9dff1796cd6c7fbaa26091b5e105b08f622a0 [file] [log] [blame]
Willy Tarreau45cb4fb2009-10-26 21:10:04 +01001EBTREE_DIR = ../../ebtree
Willy Tarreau0b9da8d2010-01-02 12:23:30 +01002INCLUDE = -I../../include -I$(EBTREE_DIR)
Willy Tarreau45cb4fb2009-10-26 21:10:04 +01003OPTIMIZE = -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)