summaryrefslogtreecommitdiff
path: root/apps/plugins/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r--apps/plugins/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 96e57d3..172b757 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -50,14 +50,14 @@ endif
.PHONY: $(SUBDIRS)
all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE)
-$(BUILDDIR)/credits.raw: $(DOCSDIR)/CREDITS
+$(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS
@echo "create credits.raw"
@perl credits.pl < $< > $@
-$(OBJDIR)/credits.o: credits.c $(BUILDDIR)/credits.raw
+$(OBJDIR)/credits.o: credits.c $(OBJDIR)/credits.raw
@mkdir -p `dirname $@`
@echo "CC $<"
- @$(CC) $(CFLAGS) -c $< -o $@
+ @$(CC) $(CFLAGS) -I$(OBJDIR) -c $< -o $@
ifndef SIMVER
$(OBJDIR)/%.elf: $(OBJDIR)/%.o $(LINKFILE) $(BUILDDIR)/libplugin.a