diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -6,14 +6,17 @@ all: bin/hyde bin:; mkdir -p bin/ -bin/hyde: src/hyde.c src/hashmap.c vendor/mpc.c | bin +bin/hyde: src/hyde.c src/hashmap.c src/template.c vendor/mpc.c | bin $(CC) $(CFLAGS) $^ -o $@ bin/test_hashmap: src/hashmap.c tests/test_hashmap.c | bin $(CC) $(TESTFLAGS) $^ -o $@ +bin/test_template: src/template.c src/hashmap.c tests/test_template.c vendor/mpc.c | bin + $(CC) $(TESTFLAGS) $^ -o $@ + .PHONY: check -check: bin/test_hashmap +check: bin/test_hashmap bin/test_template for test in $^; do $$test || exit 1; done .PHONY: clean |