sysdis-tp/makefile

27 lines
382 B
Makefile
Raw Permalink Normal View History

CC=-Werror -g
2017-02-01 18:11:53 +00:00
client.o: client.h client.c
gcc $(CC) -c -o client.o client.c
2017-02-02 10:18:34 +00:00
server.o: lib.h server.h server.c
2017-02-01 18:11:53 +00:00
gcc $(CC) -c -o server.o server.c
lib.o: lib.h lib.c
gcc $(CC) -c -o lib.o lib.c
server: lib.o server.o
gcc $(CC) -o server lib.o server.o
client: lib.o client.o
gcc $(CC) -o client lib.o client.o
all: client server
clean:
rm -rf ./*.o
rm client server