Initial commit
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
websh
|
||||
*.o
|
||||
*.json
|
||||
*.sh
|
||||
.vimrc
|
||||
*.gch
|
||||
Doxyfile
|
||||
html/
|
||||
latex/
|
||||
*.tgz
|
||||
*.pdf
|
||||
@@ -0,0 +1,16 @@
|
||||
CC = gcc
|
||||
CFLAGS = -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809L -g -c
|
||||
|
||||
all: server client
|
||||
|
||||
server: server.o common.h
|
||||
$(CC) $^ -o $@
|
||||
|
||||
client: client.o common.h
|
||||
$(CC) $^ -o $@
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $^
|
||||
|
||||
.PHONY clean:
|
||||
rm -f common.h.ghc client.o server.o client server
|
||||
Reference in New Issue
Block a user