diff --git a/smallsh/makefile b/smallsh/makefile index 1065191..7b5a128 100644 --- a/smallsh/makefile +++ b/smallsh/makefile @@ -1,14 +1,8 @@ CC=gcc --std=gnu99 -g output=smallsh -all: main.c main.h node.o input.o - $(CC) main.c node.o input.o -o $(output) - -node.o: node.c node.h - $(CC) -c node.c -o node.o - -input.o: input.h input.c - $(CC) -c input.c -o input.o +all: main.c main.h + $(CC) main.c -o $(output) test: all ./p3testscript 2>&1