--- Makefile.orig Tue Jun 1 23:06:03 2004 +++ Makefile Wed Jun 2 11:55:57 2004 @@ -1,19 +1,14 @@ VERSION = 0.3 -PCRE=-lpcre -GNUTLS=-lggz -lgnutls - -CC = gcc -CFLAGS = -Wall -O3 -ggdb3 OBJECTS = main.o conf.o sys.o magic.o server.o ipban.o filter.o -prefix = /usr/local -confprefix = /usr/local/etc +prefix = ${PREFIX} +confprefix = ${PREFIX}/etc all: morebalance morebalance: $(OBJECTS) - $(CC) -o $@ $(OBJECTS) -lpthread $(PCRE) $(GNUTLS) + $(CC) -o $@ $(OBJECTS) $(CFLAGS) $(LDFLAGS) clean: rm -f *.o