blob: 1ac945d65246a51a40e51863d8b1846531a60579 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
src_dir = ../src
include $(src_dir)/ecp/common.mk
CFLAGS += -I../util -Wno-int-to-void-pointer-cast
LDFLAGS += -lrt
obj = server.o dir.o vlink.o ht.o acl.o sig.o # timer.o
dep = ../build-posix/*.a ../util/libecputil.a
%.o: %.c
$(CC) $(CFLAGS) -c $<
ecp_server: $(obj)
$(CC) -o $@ $(obj) $(dep) $(LDFLAGS)
clean:
rm -f *.o
rm -f ecp_server
|