fix header and add a makefile so I can test in isolation.

This commit is contained in:
Enno Rehling 2014-03-16 22:26:12 +01:00
parent 6ee05f5d5c
commit 9797243a51
1 changed files with 18 additions and 0 deletions

18
Makefile Normal file
View File

@ -0,0 +1,18 @@
# I am not very good at Makefiles.
CFLAGS += -Wall -g
INCLUDES = -I.
all: test
bin:
mkdir -p $@
test: bin/CuTestTest
@bin/CuTestTest
bin/CuTestTest: AllTests.c CuTestTest.c CuTest.c | bin
$(CC) $(CFLAGS) $(INCLUDES) -lm -o $@ $^
clean:
@rm -rf *~ bin