以上两个文件的makefile

CC = g++


CFLAGS = -Wall


all:	server client


client: client.o
	$(CC) $(CFLAGS) -o $@ client.cpp -L/usr/lib64 -lsctp


server: server.o
	$(CC) $(CFLAGS) -o $@ server.cpp -L/usr/lib64 -lsctp


clean:
	rm -f server clinet server.o client *.o


你可能感兴趣的:(以上两个文件的makefile)