diff options
author | Danny van Kooten <dannyvankooten@users.noreply.github.com> | 2020-03-12 12:33:55 +0100 |
---|---|---|
committer | Danny van Kooten <dannyvankooten@users.noreply.github.com> | 2020-03-12 12:33:55 +0100 |
commit | 83eee4d23f9da9e72238dd01d43b350ed5bc04f1 (patch) | |
tree | 46b92c58b7e37977cd06da09b32dbf626f5b19df /Makefile | |
parent | cd70ca266bb212d6a32d2dd808c7708bb7be6f1f (diff) | |
download | unja-83eee4d23f9da9e72238dd01d43b350ed5bc04f1.tar.gz unja-83eee4d23f9da9e72238dd01d43b350ed5bc04f1.zip |
add some more test helpers
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 |