mirror of
https://github.com/ennorehling/cutest.git
synced 2024-12-22 16:02:20 +00:00
fix header and add a makefile so I can test in isolation.
This commit is contained in:
parent
6ee05f5d5c
commit
9797243a51
18
Makefile
Normal file
18
Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user