blob: fa3e6bb610ac334aa6306118dedc144176c56cbb [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 Tarreauabe45b62010-10-28 20:33:46 +02008 $(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $(EBTREE_DIR)/eb64tree.c $(EBTREE_DIR)/ebmbtree.c $(EBTREE_DIR)/ebsttree.c $(EBTREE_DIR)/ebistree.c $(EBTREE_DIR)/ebimtree.c $^
Willy Tarreau72c28532009-01-22 18:56:50 +01009
Willy Tarreau214c2032009-02-20 11:02:32 +010010halog64: halog.c fgets2-64.c
Willy Tarreauabe45b62010-10-28 20:33:46 +020011 $(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $(EBTREE_DIR)/eb64tree.c $(EBTREE_DIR)/ebmbtree.c $(EBTREE_DIR)/ebsttree.c $(EBTREE_DIR)/ebistree.c $(EBTREE_DIR)/ebimtree.c $^
Willy Tarreau72c28532009-01-22 18:56:50 +010012
13clean:
14 rm -vf $(OBJS)