2009-10-26 20:10:04 +00:00
|
|
|
EBTREE_DIR = ../../ebtree
|
2010-01-02 11:23:30 +00:00
|
|
|
INCLUDE = -I../../include -I$(EBTREE_DIR)
|
2009-11-17 09:08:17 +00:00
|
|
|
OPTIMIZE = -O3
|
2009-01-22 17:56:50 +00:00
|
|
|
|
2009-02-20 10:02:32 +00:00
|
|
|
OBJS = halog halog64
|
2009-01-22 17:56:50 +00:00
|
|
|
|
2009-02-20 10:02:32 +00:00
|
|
|
halog: halog.c fgets2.c
|
2009-10-26 20:10:04 +00:00
|
|
|
$(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $^
|
2009-02-20 10:02:32 +00:00
|
|
|
|
|
|
|
halog64: halog.c fgets2-64.c
|
2009-10-26 20:10:04 +00:00
|
|
|
$(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $^
|
2009-01-22 17:56:50 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -vf $(OBJS)
|