libscomp/Makefile

11 lines
209 B
Makefile
Raw Normal View History

2021-07-10 15:10:00 -04:00
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 $@