diff options
author | Björn Stenberg <bjorn@haxx.se> | 2008-11-26 22:48:26 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2008-11-26 22:48:26 +0000 |
commit | ef6b49815bb19575e07bddb21a7a69353f2205d1 (patch) | |
tree | 1fa4385f00d58b54f463d3fcc19b81b08f26b130 /apps/apps.make | |
parent | 89c9dbe21c96d3b41c6a03b0f9145069c75fd1c1 (diff) | |
download | rockbox-ef6b49815bb19575e07bddb21a7a69353f2205d1.tar.gz rockbox-ef6b49815bb19575e07bddb21a7a69353f2205d1.zip |
Bug fix: $@ should not be used in rules with multiple targets targets (causes confusion).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19239 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/apps.make')
-rw-r--r-- | apps/apps.make | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/apps.make b/apps/apps.make index 9a9429fef5..4df3e12d04 100644 --- a/apps/apps.make +++ b/apps/apps.make | |||
@@ -16,10 +16,10 @@ SRC += $(call preprocess, $(APPSDIR)/SOURCES) | |||
16 | # button.h is included for the HAS_BUTTON_HOLD define. | 16 | # button.h is included for the HAS_BUTTON_HOLD define. |
17 | # | 17 | # |
18 | features $(BUILDDIR)/apps/features $(BUILDDIR)/apps/genlang-features: $(APPSDIR)/features.txt | 18 | features $(BUILDDIR)/apps/features $(BUILDDIR)/apps/genlang-features: $(APPSDIR)/features.txt |
19 | $(SILENT)mkdir -p $(dir $@) | 19 | $(SILENT)mkdir -p $(BUILDDIR)/apps |
20 | $(call PRINTS,PP $(<F)) | 20 | $(call PRINTS,PP $(<F)) |
21 | $(SILENT)$(CC) $(PPCFLAGS) \ | 21 | $(SILENT)$(CC) $(PPCFLAGS) \ |
22 | -E -P -imacros "config.h" -imacros "button.h" -x c $< | \ | 22 | -E -P -imacros "config.h" -imacros "button.h" -x c $< | \ |
23 | grep -v "^\#" | grep -v "^$$" > $@; \ | 23 | grep -v "^\#" | grep -v "^$$" > $(BUILDDIR)/apps/features; \ |
24 | for f in `cat $@`; do feat="$$feat:$$f" ; done ; \ | 24 | for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \ |
25 | echo "$$feat" >$(BUILDDIR)/apps/genlang-features | 25 | echo "$$feat" >$(BUILDDIR)/apps/genlang-features |