generate a raw list from the docs/CREDITS file and include that in credits.c

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2639 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-10-15 07:49:47 +00:00
parent 3a0bde6735
commit 50424aec2e

View file

@ -16,6 +16,7 @@ OC = sh-elf-objcopy
LANGUAGE = english
FIRMWARE := ../firmware
DOCSDIR := ../docs
INCLUDES= -I$(FIRMWARE)/include -I$(FIRMWARE) -I$(FIRMWARE)/common -I$(FIRMWARE)/drivers -I$(FIRMWARE)/malloc -I. -I$(OBJDIR)
@ -74,6 +75,13 @@ $(OBJDIR)/archos.asm: $(OBJDIR)/archos.bin
$(OBJDIR)/$(OUTNAME) : $(OBJDIR)/archos.bin
../tools/scramble $(OBJDIR)/archos.bin $(OBJDIR)/$(OUTNAME)
$(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS
perl credits.pl < $< > $@
$(OBJDIR)/credits.o: credits.c credits.h $(OBJDIR)/credits.raw
@mkdir -p `dirname $@`
$(CC) $(CFLAGS) -c $< -o $@
$(OBJDIR)/%.o: %.c
@mkdir -p `dirname $@`
$(CC) $(CFLAGS) -c $< -o $@