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.zip rockbox-ef6b49815bb19575e07bddb21a7a69353f2205d1.tar.gz rockbox-ef6b49815bb19575e07bddb21a7a69353f2205d1.tar.bz2 rockbox-ef6b49815bb19575e07bddb21a7a69353f2205d1.tar.xz | |
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 9a9429f..4df3e12 100644 --- a/apps/apps.make +++ b/apps/apps.make @@ -16,10 +16,10 @@ SRC += $(call preprocess, $(APPSDIR)/SOURCES) # button.h is included for the HAS_BUTTON_HOLD define. # features $(BUILDDIR)/apps/features $(BUILDDIR)/apps/genlang-features: $(APPSDIR)/features.txt - $(SILENT)mkdir -p $(dir $@) + $(SILENT)mkdir -p $(BUILDDIR)/apps $(call PRINTS,PP $(<F)) $(SILENT)$(CC) $(PPCFLAGS) \ -E -P -imacros "config.h" -imacros "button.h" -x c $< | \ - grep -v "^\#" | grep -v "^$$" > $@; \ - for f in `cat $@`; do feat="$$feat:$$f" ; done ; \ + grep -v "^\#" | grep -v "^$$" > $(BUILDDIR)/apps/features; \ + for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \ echo "$$feat" >$(BUILDDIR)/apps/genlang-features |