11 lines
209 B
Makefile
11 lines
209 B
Makefile
|
TESTS=test/input
|
||
|
|
||
|
tests: $(TESTS)
|
||
|
for i in $(TESTS); do ./$$i; done
|
||
|
|
||
|
TEST_INPUT=test/input.o input.o
|
||
|
test/input: $(TEST_INPUT)
|
||
|
$(CC) -Wall $(TEST_INPUT) -o test/input
|
||
|
.c.o:
|
||
|
$(CC) -std=c89 -Wall -c $< -o $@
|