usaa18cv3/Makefile

17 lines
243 B
Makefile
Raw Permalink Normal View History

2018-11-19 22:49:56 +00:00
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