diff options
-rw-r--r-- | apps/plugins/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index fdabc8cf22..651a26c49e 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile | |||
@@ -24,8 +24,9 @@ LDS := plugin.lds | |||
24 | LINKFILE := $(OBJDIR)/pluginlink.lds | 24 | LINKFILE := $(OBJDIR)/pluginlink.lds |
25 | DEPFILE = $(OBJDIR)/dep-plugins | 25 | DEPFILE = $(OBJDIR)/dep-plugins |
26 | 26 | ||
27 | SRC := $(shell cat SOURCES | gcc -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \ | 27 | # This sets up 'SRC' based on the files mentioned in SOURCES |
28 | $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - ) | 28 | include $(TOOLSDIR)/makesrc.inc |
29 | |||
29 | ROCKS := $(SRC:%.c=$(OBJDIR)/%.rock) | 30 | ROCKS := $(SRC:%.c=$(OBJDIR)/%.rock) |
30 | SOURCES = $(SRC) | 31 | SOURCES = $(SRC) |
31 | ELFS := $(SRC:%.c=$(OBJDIR)/%.elf) | 32 | ELFS := $(SRC:%.c=$(OBJDIR)/%.elf) |