usaa18cv3/Makefile
2018-11-19 23:49:56 +01:00

17 lines
243 B
Makefile

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