libscomp/Makefile

11 lines
212 B
Makefile
Raw Normal View History

2021-07-10 15:10:00 -04:00
TESTS=test/input
tests: $(TESTS)
2021-07-10 15:43:39 -04:00
for i in $(TESTS); do ./$$i -v; done
2021-07-10 15:10:00 -04:00
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 $@