10 lines
212 B
Makefile
10 lines
212 B
Makefile
TESTS=test/input
|
|
|
|
tests: $(TESTS)
|
|
for i in $(TESTS); do ./$$i -v; 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 $@
|