mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-24 14:33:16 +00:00
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:
parent
0e69854ed4
commit
6ee71754e2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user