summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/Makefile')
-rw-r--r--apps/plugins/lib/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/lib/Makefile b/apps/plugins/lib/Makefile
index b9daf737c4..b492bb578f 100644
--- a/apps/plugins/lib/Makefile
+++ b/apps/plugins/lib/Makefile
@@ -18,9 +18,9 @@ INCLUDES += -I$(APPSDIR)/$(APPEXTRA)
18endif 18endif
19 19
20CFLAGS = $(GCCOPTS) \ 20CFLAGS = $(GCCOPTS) \
21$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} 21$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} -DPLUGIN
22 22
23SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) 23SRC := $(shell cat SOURCES | gcc -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - )
24SOURCES = $(SRC) 24SOURCES = $(SRC)
25OBJS := $(SRC:%.c=$(OBJDIR)/%.o) 25OBJS := $(SRC:%.c=$(OBJDIR)/%.o)
26DEPFILE = $(OBJDIR)/dep-pluginlib 26DEPFILE = $(OBJDIR)/dep-pluginlib
@@ -31,8 +31,9 @@ OUTPUT = $(OBJDIR)/libplugin.a
31all: $(OUTPUT) 31all: $(OUTPUT)
32 32
33$(OUTPUT): $(OBJS) 33$(OUTPUT): $(OBJS)
34 @echo "AR $@" 34 @echo "AR+RANLIB $@"
35 @$(AR) ruv $@ $+ >/dev/null 2>&1 35 @$(AR) ruv $@ $+ >/dev/null 2>&1
36 @$(RANLIB) $@
36 37
37include $(TOOLSDIR)/make.inc 38include $(TOOLSDIR)/make.inc
38 39