summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2019-09-15 09:26:41 +0000
committernirav <nirav@teisuu.com>2019-09-15 09:26:41 +0000
commite985bfa6b8facac58da9a20c3c840498e2517bb5 (patch)
treee38c1b5d9eed792d770ccb3deff9f4dd29be41be /Makefile
downloadgopherd-e985bfa6b8facac58da9a20c3c840498e2517bb5.tar.gz
gopherd-e985bfa6b8facac58da9a20c3c840498e2517bb5.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a989775
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+CC=cc
+CFLAGS=-ansi -Wall -Wextra -pedantic
+
+all: gopherd
+
+OBJ=main.o log.o
+
+gopherd: $(OBJ)
+ $(CC) -o $@ $(OBJ)
+
+clean:
+ rm -f gopherd *.o