aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-02-28 13:58:44 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-02-28 13:58:44 +1300
commitd30057c838b664b0a1a08406f02fdd0f6548ef80 (patch)
treea63b941dd81b16c48cd85c59983eac2f60aa419a /Makefile
parentIgnore built files (diff)
downloadcat-d30057c838b664b0a1a08406f02fdd0f6548ef80.tar.gz
cat-d30057c838b664b0a1a08406f02fdd0f6548ef80.zip
Correct some pedantic errors
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5831686..218c2ed 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
CC = gcc
-CFLAGS = -ansi -pedantic-errors
+CFLAGS = -Wall -Wpedantic -ansi -pedantic-errors
cat : main.o cfn.o cfd.o
- gcc -o cat main.o cfn.o cfd.o
+ gcc $(CFLAGS) -o cat main.o cfn.o cfd.o
clean :
rm -f -- cat *.o