blob: 9a1b79ac29adc2f3104bde9de37eb992b0d42e54 [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 Tarreaudb40a1c2009-11-17 10:08:17 +01003OPTIMIZE = -O3
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 Tarreaud2201062010-05-27 18:17:30 +02008 $(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $(EBTREE_DIR)/ebmbtree.c $(EBTREE_DIR)/ebsttree.c $^
Willy Tarreau72c28532009-01-22 18:56:50 +01009
Willy Tarreau214c2032009-02-20 11:02:32 +010010halog64: halog.c fgets2-64.c
Willy Tarreaud2201062010-05-27 18:17:30 +020011 $(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $(EBTREE_DIR)/ebmbtree.c $(EBTREE_DIR)/ebsttree.c $^
Willy Tarreau72c28532009-01-22 18:56:50 +010012
13clean:
14 rm -vf $(OBJS)