summaryrefslogtreecommitdiff
path: root/cesar/ce
diff options
context:
space:
mode:
authordufour2009-12-01 14:23:55 +0000
committerdufour2009-12-01 14:23:55 +0000
commit1368ddc75352cf3c43395b43c04a3987145953e1 (patch)
tree4f5693abeb354abcd31a253658f7a3540fb0b44b /cesar/ce
parentd78701daaab8f1f5f0e2e07d9d1cbe9fa4be6f01 (diff)
cesar/ce/rx/bitloading: fix clean rule in test Makefile, see r5354
The r5354 commit remove the definitions of the clean targets. Fix the generation of the name of the Makefile to call based on the rule name. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6500 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/ce')
-rw-r--r--cesar/ce/rx/bitloading/test/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/cesar/ce/rx/bitloading/test/Makefile b/cesar/ce/rx/bitloading/test/Makefile
index 5a2caac6f3..37cdbd9481 100644
--- a/cesar/ce/rx/bitloading/test/Makefile
+++ b/cesar/ce/rx/bitloading/test/Makefile
@@ -3,6 +3,8 @@
# Some variables.
# Supported target/makefile
supported_target = sparc host
+# Generate clean targets.
+supported_target_clean = $(supported_target:%=%-clean)
# Common dep.
common_deps = common-define.mk common-rule.mk
@@ -19,4 +21,4 @@ $(supported_target):
$(MAKE) -f $@-$(prefix_makefile)
# Clean rules.
$(supported_target_clean):
- $(MAKE) -f $(@:%-clean:%)-$(prefix_makefile) clean
+ $(MAKE) -f $(@:%-clean=%)-$(prefix_makefile) clean