diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d21e450 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +CFLAGS= -std=c99 -g + +all: pizza3 + +%.o: %.c + gcc -c -o $@ $< $(CFLAGS) + +pizza3: main.o pizza3.o + gcc main.o pizza3.o -o pizza3 + +clean: + rm *.o pizza3 +test: pizza3.c tests/test.c + gcc pizza3.c tests/test.c tests/unity.c -Itests -o test + ./test