make credits.c use the generated list of names properly as already done

in apps/Makefile


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2641 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-10-15 07:51:25 +00:00
parent 64628808b7
commit 0ab96fdf70
2 changed files with 9 additions and 2 deletions

View file

@ -101,7 +101,10 @@ clean:
distclean: clean
$(RM) config.cache
$(OBJDIR)/credits.o: $(APPDIR)/credits.c
$(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS
perl $(APPDIR)/credits.pl < $< > $@
$(OBJDIR)/credits.o: $(APPDIR)/credits.c $(APPDIR)/credits.h $(OBJDIR)/credits.raw
$(CC) $(APPCFLAGS) -c $< -o $@
$(OBJDIR)/menu.o: $(APPDIR)/menu.c

View file

@ -35,6 +35,7 @@ DRIVERS = $(FIRMWAREDIR)/drivers
COMMON = $(FIRMWAREDIR)/common
LIBMADDIR = $(PREVAPPDIR)/common/libmad
TOOLSDIR = ../../tools
DOCSDIR = ../../docs
CC = gcc
RM = rm -f
@ -157,7 +158,10 @@ $(OBJDIR)/mpegplay.o: $(PREVAPPDIR)/common/mpegplay.c
endif
$(OBJDIR)/credits.o: $(APPDIR)/credits.c
$(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS
perl $(APPDIR)/credits.pl < $< > $@
$(OBJDIR)/credits.o: $(APPDIR)/credits.c $(APPDIR)/credits.h $(OBJDIR)/credits.raw
$(CC) $(APPCFLAGS) -c $< -o $@
$(OBJDIR)/menu.o: $(APPDIR)/menu.c