aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-05 18:41:43 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-05 18:41:43 +1300
commitf6ebc74cfa55c7d91e053752fbf8e1abc11547e6 (patch)
treef443ce246178e9975a146e653230f064ca5c834e
parentSwitching to clang (diff)
downloadcat-f6ebc74cfa55c7d91e053752fbf8e1abc11547e6.tar.gz
cat-f6ebc74cfa55c7d91e053752fbf8e1abc11547e6.zip
Makefile phony targets
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b6105a2..946feb1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,10 @@
+.PHONY: all clean
+
CC = clang
CFLAGS = -std=c90 -Weverything
+all : cat
+
cat : main.o cfn.o cfp.o
$(CC) $(CFLAGS) -o cat main.o cfn.o cfp.o