mirror of
https://github.com/ennorehling/cutest.git
synced 2024-12-23 00:02:20 +00:00
19 lines
284 B
Makefile
19 lines
284 B
Makefile
# I am not very good at Makefiles.
|
|
|
|
CFLAGS += -Wall -g
|
|
INCLUDES = -I.
|
|
|
|
all: bin/CuTestTest
|
|
|
|
bin:
|
|
mkdir -p $@
|
|
|
|
test: bin/CuTestTest
|
|
@bin/CuTestTest
|
|
|
|
bin/CuTestTest: AllTests.c CuTestTest.c CuTest.c | bin
|
|
$(CC) $(CFLAGS) $(INCLUDES) -Wno-address -lm -o $@ $^
|
|
|
|
clean:
|
|
@rm -rf *~ bin
|