usaa18cv2/Makefile

16 lines
247 B
Makefile
Raw Normal View History

2018-11-19 22:47:16 +00:00
CFLAGS= -std=c99 -g
all: pizza2
%.o: %.c
gcc -c -o $@ $< $(CFLAGS)
pizza2: main.o pizza2.o
gcc main.o pizza2.o -o pizza2
clean:
rm *.o pizza2 test
test: pizza2.c tests/test.c
gcc pizza2.c tests/test.c tests/unity.c -Itests -o test
./test