Fixed font target for loadable fonts

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1759 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-08-15 11:35:14 +00:00
parent dd2bae49eb
commit 134c45d709

View file

@ -43,11 +43,13 @@ DIRS = $(subst $(DEPS),".",$(DEPDIRS))
OUTPUT = $(OBJDIR)/librockbox.a
ifdef LOADABLE_FONTS
ifeq (LOADABLE_FONTS,$(findstring LOADABLE_FONTS, $(CFLAGS)))
EXTRA_TARGETS = $(OBJDIR)/system.ajf
endif
$(OUTPUT): $(OBJS) $(EXTRA_TARGETS)
all: $(OUTPUT) $(EXTRA_TARGETS)
$(OUTPUT): $(OBJS)
$(AR) ruv $@ $+
$(OBJDIR)/%.o: %.c
@ -58,7 +60,7 @@ $(OBJDIR)/%.o: %.S
@mkdir -p `dirname $@`
$(CC) $(CFLAGS) -c $< -o $@
$(OBJDIR)/system.ajf: ../tools/bdf2ajf $(SYSTEM_FONT)
$(OBJDIR)/system.ajf: $(SYSTEM_FONT)
../tools/bdf2ajf -f $(SYSTEM_FONT) -o $(OBJDIR)/system.ajf
tags: