summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9debc82..2a54323 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
.POSIX:
CC=cc
-CFLAGS=-ansi -Wall -Wextra -pedantic
+CFLAGS=-ansi -D_POSIX_C_SOURCE=200809L -Wall -Wextra -pedantic
all: gopherd
-SRC=main.c log.c gopher.c
+SRC=main.c log.c gopher.c gph.c
OBJ=$(SRC:.c=.o)
gopherd: $(OBJ)