2014-03-16 21:26:12 +00:00
|
|
|
# I am not very good at Makefiles.
|
|
|
|
|
|
|
|
CFLAGS += -Wall -g
|
|
|
|
INCLUDES = -I.
|
|
|
|
|
2014-10-14 19:52:58 +00:00
|
|
|
all: bin/CuTestTest
|
2014-03-16 21:26:12 +00:00
|
|
|
|
|
|
|
bin:
|
|
|
|
mkdir -p $@
|
|
|
|
|
|
|
|
test: bin/CuTestTest
|
|
|
|
@bin/CuTestTest
|
|
|
|
|
|
|
|
bin/CuTestTest: AllTests.c CuTestTest.c CuTest.c | bin
|
2016-02-27 11:25:49 +00:00
|
|
|
$(CC) $(CFLAGS) $(INCLUDES) -Wno-address -lm -o $@ $^
|
2014-03-16 21:26:12 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
@rm -rf *~ bin
|