diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-03-02 12:14:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-03-02 12:14:54 +0200 |
commit | 6c63b913179127e09ed7d9da8920493ccceec6ce (patch) | |
tree | 95684b51b4ab60e6468a592a53e33c2cf00027ab /libxsde/makefile | |
parent | 3fd3cfc36784be43f545f2f0973e3dc58f475996 (diff) |
Add make support for creating binary distributions
Two new make targets, dist and dist-win, were added that allow one
to create a binary distribution from the current build. The dist
target creates a UNIX distribution while dist-win -- Windows.
The simplified build systems for the runtime library and examples
that were kept separately are now part of the project (the dist/
subdirectory).
Diffstat (limited to 'libxsde/makefile')
-rw-r--r-- | libxsde/makefile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/libxsde/makefile b/libxsde/makefile index dc644f3..0e4e154 100644 --- a/libxsde/makefile +++ b/libxsde/makefile @@ -5,22 +5,16 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make -default := $(out_base)/ -install := $(out_base)/.install -clean := $(out_base)/.clean +default := $(out_base)/ +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean -.PHONY: $(default) $(install) $(clean) +.PHONY: $(default) $(dist) $(dist-win) $(clean) $(default): $(out_base)/xsde/ +$(dist): $(out_base)/xsde/.dist +$(dist-win): $(out_base)/xsde/.dist-win $(clean): $(out_base)/xsde/.clean -$(install): - $(call install-dir,$(src_base)/xsde,$(install_inc_dir)/xsde) - $(call install-data,$(src_base)/GPLv2,$(install_doc_dir)/libxsde/GPLv2) - $(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/libxsde/LICENSE) - $(call install-data,$(src_base)/README,$(install_doc_dir)/libxsde/README) - - -$(call include,$(bld_root)/install.make) - $(call import,$(src_base)/xsde/makefile) |