From c9d41b4b94882ade8fa4b706948dd860652b0af0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 24 Nov 2004 16:45:08 +0000 Subject: Make the simulator builds acknowledge the plugins variable set in the configure script. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5464 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'uisimulator/x11/Makefile') diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index 683dca6b82..2c9d69d6a2 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile @@ -135,9 +135,9 @@ SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \ OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) -ifneq ($(ISONDIO),ONDIO) -ROCKS := $(patsubst $(PLUGINDIR)/%.c,$(OBJDIR)/%.rock,$(wildcard $(PLUGINDIR)/*.c)) -PLUGINLIBOBJS := $(patsubst $(PLUGINDIR)/lib/%.c,$(OBJDIR)/%.o,$(wildcard $(PLUGINDIR)/lib/*.c)) +ifdef ENABLEDPLUGINS + ROCKS := $(patsubst $(PLUGINDIR)/%.c,$(OBJDIR)/%.rock,$(wildcard $(PLUGINDIR)/*.c)) + PLUGINLIBOBJS := $(patsubst $(PLUGINDIR)/lib/%.c,$(OBJDIR)/%.o,$(wildcard $(PLUGINDIR)/lib/*.c)) endif all: $(TOOLSDIR)/convbdf $(EXEFILE) $(ROCKS) -- cgit v1.2.3