diff options
-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 |