From 0ab96fdf701656de13d560362766b67b3ce4dc18 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 15 Oct 2002 07:51:25 +0000 Subject: 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 --- uisimulator/win32/Makefile | 5 ++++- uisimulator/x11/Makefile | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile index bcfef516ca..970c61ac6c 100644 --- a/uisimulator/win32/Makefile +++ b/uisimulator/win32/Makefile @@ -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 diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index b8c996f3bf..e0dc896087 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile @@ -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 -- cgit v1.2.3