aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-29 14:41:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-29 14:41:59 +0200
commit67594069075b97ed047d3cbc1767901fd89de4ec (patch)
treef319cd8f27c741ed7e08c50d267e82f94bb5cdf8 /makefile
parentf3a4ceca2520d0af3c492db365968e9afd3e6241 (diff)
Add support for the dist and dist-win targets
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/makefile b/makefile
index 85c41fb..c56966b 100644
--- a/makefile
+++ b/makefile
@@ -7,7 +7,7 @@ include $(dir $(lastword $(MAKEFILE_LIST)))/build-0.3/bootstrap.make
default := $(out_base)/
-.PHONY: $(default) test install clean
+.PHONY: $(default) test install dist dist-win clean
# Build.
#
@@ -21,6 +21,11 @@ test: $(out_base)/xsde/.test
#
install: $(out_base)/xsde/.install
+# Dist.
+#
+dist: $(out_base)/xsde/.dist
+dist-win: $(out_base)/xsde/.dist-win
+
# Clean.
#
clean: $(out_base)/libcult/.clean \
@@ -65,7 +70,7 @@ src_root := $(src_base)/xsde
scf_root := $(src_root)/build
out_root := $(src_root)
-ifneq ($(filter $(MAKECMDGOALS),clean test install),)
+ifneq ($(filter $(MAKECMDGOALS),clean test install dist dist-win),)
$(call import,$(src_base)/xsde/makefile)
else
$(call import,$(src_base)/xsde/xsde/makefile)