aboutsummaryrefslogtreecommitdiff
path: root/dist/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/makefile')
-rw-r--r--dist/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/makefile b/dist/makefile
index df44825..1d06b13 100644
--- a/dist/makefile
+++ b/dist/makefile
@@ -1,8 +1,13 @@
dirs := libxsde examples
+ifneq ($(filter $(MAKECMDGOALS),test clean),)
+dirs += tests
+endif
+
.PHONY: all $(dirs)
all: $(dirs)
+tests: libxsde
examples: libxsde
$(dirs):