BUILD: halog: make halog build on solaris

Solaris' "rm" command does not support -v. Also, specify CC=gcc
because "cc" generally is not gcc there.
This commit is contained in:
Willy Tarreau 2011-09-16 15:00:48 +02:00
parent 0e69854ed4
commit 6ee71754e2

View File

@ -1,5 +1,7 @@
EBTREE_DIR = ../../ebtree EBTREE_DIR = ../../ebtree
INCLUDE = -I../../include -I$(EBTREE_DIR) INCLUDE = -I../../include -I$(EBTREE_DIR)
CC = gcc
OPTIMIZE = -O3 OPTIMIZE = -O3
OBJS = halog halog64 OBJS = halog halog64
@ -11,4 +13,4 @@ halog64: halog.c fgets2-64.c
$(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 $^ $(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 $^
clean: clean:
rm -vf $(OBJS) rm -f $(OBJS)