diff options
Diffstat (limited to 'apps/plugins')
| -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 fdabc8c..651a26c 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile @@ -24,8 +24,9 @@ LDS := plugin.lds LINKFILE := $(OBJDIR)/pluginlink.lds DEPFILE = $(OBJDIR)/dep-plugins -SRC := $(shell cat SOURCES | gcc -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \ - $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - ) +# This sets up 'SRC' based on the files mentioned in SOURCES +include $(TOOLSDIR)/makesrc.inc + ROCKS := $(SRC:%.c=$(OBJDIR)/%.rock) SOURCES = $(SRC) ELFS := $(SRC:%.c=$(OBJDIR)/%.elf) |