15 lines
198 B
Makefile
15 lines
198 B
Makefile
LDFLAGS=-lpthread
|
|
|
|
all: server ftserver
|
|
|
|
ftserver:LDFLAGS+=-lfemtotcp
|
|
|
|
ftserver:server.o
|
|
gcc -o $@ $^ $(LDFLAGS)
|
|
|
|
server: server.o
|
|
gcc -o $@ $^ $(LDFLAGS)
|
|
|
|
|
|
clean:
|
|
rm -f ftserver server server.o
|