summaryrefslogtreecommitdiff
path: root/ecp/server/Makefile
blob: 2105e9f2888a094b3314d2c0caf54e7ccf9ef50f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
src_dir = ../src
include $(src_dir)/ecp/common.mk
CFLAGS += -Wno-int-to-void-pointer-cast

obj = server.o dir.o vlink.o ht.o
dep = ../build-posix/*.a

%.o: %.c
	$(CC) $(CFLAGS) -c $<

ecp_server: $(obj)
	$(CC) -o $@ $(obj) $(dep) $(LDFLAGS)

clean:
	rm -f *.o
	rm -f ecp_server