aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3713824..5a2eaaf 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,7 @@ install: extlib extlib.pc
install -Dm655 src/extlib.h $(PREFIX)/include/
install -Dm655 extlib.pc $(PREFIX)/share/pkgconfig/
-test:
- $(CC) $(TESTCFLAGS) $(TESTLDFLAGS) test.c -o test
- ./test
+test: FORCE
+ cd tests && make test
+
+FORCE: ; # PHONY is a non standard extension