diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-05-12 15:52:16 -0700 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-05-12 15:52:16 -0700 |
commit | 62f4bf33566d5ea69e5b0ac9f2cbfe23087fdf75 (patch) | |
tree | c4490a5223a7488575e32ec50c8af5471cb4983d | |
parent | 322f02e91e2ec716b5064d7cb3069beb1d2c44a4 (diff) |
Fix example makefile to include extra source files in distribution
-rw-r--r-- | examples/inheritance/makefile | 1 | ||||
-rw-r--r-- | examples/persistence/makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/inheritance/makefile b/examples/inheritance/makefile index 038046e..c455a6f 100644 --- a/examples/inheritance/makefile +++ b/examples/inheritance/makefile @@ -33,6 +33,7 @@ $(out_base)/: $(driver) $(dist): name := $(subst $(src_root)/examples/,,$(src_base)) $(dist): sources := $(cxx_tun) $(dist): extras := README position.xml +$(dist): export extra_sources := $(filter-out driver.cxx,$(cxx_tun)) $(dist): export extra_headers := position.hxx $(dist): export extra_dist := $(extras) $(name)-vc9.vcproj \ $(name)-vc10.vcxproj $(name)-vc10.vcxproj.filters \ diff --git a/examples/persistence/makefile b/examples/persistence/makefile index be54989..90fc4e3 100644 --- a/examples/persistence/makefile +++ b/examples/persistence/makefile @@ -33,6 +33,7 @@ $(out_base)/: $(driver) $(dist): name := $(subst $(src_root)/examples/,,$(src_base)) $(dist): sources := $(cxx_tun) $(dist): extras := README position.xml +$(dist): export extra_sources := $(filter-out driver.cxx,$(cxx_tun)) $(dist): export extra_headers := position.hxx $(dist): export extra_dist := $(extras) $(name)-vc9.vcproj \ $(name)-vc10.vcxproj $(name)-vc10.vcxproj.filters \ |