initial commit

This commit is contained in:
Kranklyboy
2018-04-14 19:13:03 +02:00
parent 667ae5e2ec
commit eb7522dc54
6 changed files with 840 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
CC = gcc
CFLAGS = -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809L -g -c
.PHONY all: server client
server: server.o common.h
$(CC) -o $@ $^
server.o: server.c
$(CC) $(CFLAGS) $<
client: client.o common.h
$(CC) -o $@ $^
client.o: client.c
$(CC) $(CFLAGS) $<
.PHONY clean:
rm -f client.o server.o client server