summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-16 22:45:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-16 22:45:44 +0000
commit137501b9ac11032f57c63b4f90ec9379bf134b08 (patch)
treea1eb4cac2ce5a6e745b2701aca790383bd75ba36 /apps
parentffb0cdc4263c5c5f4b13fd7514533f4d17fa2a3b (diff)
downloadrockbox-137501b9ac11032f57c63b4f90ec9379bf134b08.tar.gz
rockbox-137501b9ac11032f57c63b4f90ec9379bf134b08.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/Makefile4
1 files changed, 2 insertions, 2 deletions
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
52.PHONY: $(SUBDIRS) 52.PHONY: $(SUBDIRS)
53all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE) 53all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE)
54 54
55$(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS 55$(BUILDDIR)/credits.raw: $(DOCSDIR)/CREDITS
56 @echo "create credits.raw" 56 @echo "create credits.raw"
57 @perl credits.pl < $< > $@ 57 @perl credits.pl < $< > $@
58 58
59$(OBJDIR)/credits.o: credits.c $(OBJDIR)/credits.raw 59$(OBJDIR)/credits.o: credits.c $(BUILDDIR)/credits.raw
60 @mkdir -p `dirname $@` 60 @mkdir -p `dirname $@`
61 @echo "CC $<" 61 @echo "CC $<"
62 @$(CC) $(CFLAGS) -I$(OBJDIR) -c $< -o $@ 62 @$(CC) $(CFLAGS) -I$(OBJDIR) -c $< -o $@