mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-12 16:59:48 +00:00
fc80e30217
The only leftovers were the unused compiler.h file and the LICENSE file which is already mentioned in each and every ebtree file header. A few build paths were updated in the contrib/ directory not to mention this directory anymore, and all its occurrences were dropped from the main makefile. From now on no other include path but include/ will be needed anymore to build any file.
26 lines
369 B
Makefile
26 lines
369 B
Makefile
DESTDIR =
|
|
PREFIX = /usr/local
|
|
BINDIR = $(PREFIX)/bin
|
|
|
|
CC = gcc
|
|
LD = $(CC)
|
|
|
|
CFLAGS = -g -O2 -Wall -Werror -pthread
|
|
INCS += -I./include
|
|
LIBS = -lpthread -levent -levent_pthreads
|
|
|
|
OBJS = spoa.o
|
|
|
|
|
|
spoa: $(OBJS)
|
|
$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
|
|
|
|
install: spoa
|
|
install spoa $(DESTDIR)$(BINDIR)
|
|
|
|
clean:
|
|
rm -f spoa $(OBJS)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) $(INCS) -c -o $@ $<
|