haproxy/Makefile

24 lines
386 B
Makefile
Raw Normal View History

2005-12-17 11:21:26 +00:00
CC = gcc
LD = gcc
COPTS = -O2 -g -DSTATTIME=0
LIBS =
# to compile under solaris, uncomment these two lines
#COPTS = -O2 -fomit-frame-pointer -DSOLARIS
#LIBS = -lnsl -lsocket
CFLAGS = -Wall $(COPTS)
LDFLAGS = -g
all: haproxy
haproxy: haproxy.o
$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
clean:
rm -vf *.[oas] *~ core haproxy test nohup.out gmon.out