aboutsummaryrefslogtreecommitdiff
path: root/build/hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-14 11:58:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-14 11:58:32 +0200
commit48eeff4e9bd12a52dcb4b552b2784836a2390321 (patch)
tree17b9720fc810b5b394929b7a2c5dad9a4d863e0d /build/hxx
parenta519bac4e04e679e3063f71e31e1b43db1a703cc (diff)
Store file suffixes in target-specific variables
Diffstat (limited to 'build/hxx')
-rw-r--r--build/hxx/hxx-cxx.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/hxx/hxx-cxx.make b/build/hxx/hxx-cxx.make
index 6bd9469..32ab610 100644
--- a/build/hxx/hxx-cxx.make
+++ b/build/hxx/hxx-cxx.make
@@ -49,6 +49,10 @@ endif
.PHONY: $(out_base)/%-odb.cxx.hxx.clean
+$(out_base)/%-odb.cxx.hxx.clean: cxx_s_suffix := $(cxx_s_suffix)
+$(out_base)/%-odb.cxx.hxx.clean: cxx_h_suffix := $(cxx_h_suffix)
+$(out_base)/%-odb.cxx.hxx.clean: cxx_i_suffix := $(cxx_i_suffix)
+
$(out_base)/%-odb.cxx.hxx.clean:
$(call message,rm $$1,rm -f $$1,$(@:.cxx.hxx.clean=.$(cxx_s_suffix)))
$(call message,rm $$1,rm -f $$1,$(@:.cxx.hxx.clean=.$(cxx_h_suffix)))