aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-04 10:36:08 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-04 10:36:51 +1300
commit4b49eed6098881fbde1f6c7728c1346fc8366979 (patch)
tree7c5a3d7ee9ec01e71ae1e6eea1f59533c0ca4c8d /Makefile
parentClean up Makefile a bit (diff)
downloadcat-4b49eed6098881fbde1f6c7728c1346fc8366979.tar.gz
cat-4b49eed6098881fbde1f6c7728c1346fc8366979.zip
Switch to fopen/fread etc
Not quite finished yet -- this does things with stdin I didn't expect, like not printing it line-by-line, and requiring two EOFs for some reason.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 81db4b5..e373493 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
CC = gcc
CFLAGS = -Wall -Wpedantic -ansi -pedantic-errors
-cat : main.o cfn.o cfd.o
- $(CC) $(CFLAGS) -o cat main.o cfn.o cfd.o
+cat : main.o cfn.o cfp.o
+ $(CC) $(CFLAGS) -o cat main.o cfn.o cfp.o
clean :
rm -f -- *.o cat