2009-10-26 20:10:04 +00:00
|
|
|
EBTREE_DIR = ../../ebtree
|
|
|
|
INCLUDE = -I$(EBTREE_DIR)
|
|
|
|
OPTIMIZE = -O3 #-mtune=pentium-m
|
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)
|