From 137501b9ac11032f57c63b4f90ec9379bf134b08 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 16 Jan 2006 22:45:44 +0000 Subject: The dependency generation for credits.c failed since it includes a file that does't exist when gcc -MM is used. Thus we do one more work-around that creates the file before depedency generation and then removes it again afterwards... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8355 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index 2ed1a101bb..8464e93586 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile @@ -52,11 +52,11 @@ endif .PHONY: $(SUBDIRS) all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE) -$(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS +$(BUILDDIR)/credits.raw: $(DOCSDIR)/CREDITS @echo "create credits.raw" @perl credits.pl < $< > $@ -$(OBJDIR)/credits.o: credits.c $(OBJDIR)/credits.raw +$(OBJDIR)/credits.o: credits.c $(BUILDDIR)/credits.raw @mkdir -p `dirname $@` @echo "CC $<" @$(CC) $(CFLAGS) -I$(OBJDIR) -c $< -o $@ -- cgit v1.2.3