aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-27 16:21:02 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-27 16:21:24 -0400
commit290f2b95ee100735f55fe10af457cc65158af043 (patch)
tree6f72fa5c6312460c04cc78dcd71f370097c3903e /Makefile
parent37cd5bb9e3742f4893a14e04d49a4ba9716455c8 (diff)
Initial working commit
There are still some errors when run through valgrind, but it performs as expected for the test file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7327ab6..d3b1b6e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,13 @@
.POSIX:
-OBJS = strbst.o
+OBJS = strbst.o ll.o nodelink.o read.o main.o
CFLAGS = -Wall -pedantic
+CC = gcc
tmplt: $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
clean:
rm -f $(OBJS) inter
strbst.o: strbst.c strbst.h
+ll.o: ll.c ll.h
+nodelink.o: nodelink.c nodelink.h strbst.h
+read.o: read.c read.h strbst.h nodelink.h
+main.o: main.c