aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-02-28 13:03:40 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-02-28 13:03:40 +1300
commit7208f6fd2d62bef16edbafd327e7e0d4c13b7966 (patch)
tree4c87ce5bcdc9cc44022d2cd06fbab57a56507d96 /Makefile
downloadcat-7208f6fd2d62bef16edbafd327e7e0d4c13b7966.tar.gz
cat-7208f6fd2d62bef16edbafd327e7e0d4c13b7966.zip
First commit of that cat(1) clone I'm making
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5831686
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+CC = gcc
+CFLAGS = -ansi -pedantic-errors
+
+cat : main.o cfn.o cfd.o
+ gcc -o cat main.o cfn.o cfd.o
+
+clean :
+ rm -f -- cat *.o
+