From 4be94413224d0d2d5a6ddcd997bbe70787f3e1f7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 31 May 2002 09:16:34 +0000 Subject: the recorder now gets an archos.ajz output file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@849 a1c6a512-1295-4272-9138-f99709370657 --- apps/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/Makefile b/apps/Makefile index 0b8a43b3e2..78cd4c6283 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -41,11 +41,14 @@ SRC := $(wildcard *.c) ifeq ($(TARGET),-DARCHOS_RECORDER) SRC += $(wildcard recorder/*.c) CFLAGS += -Irecorder + OUTNAME = archos.ajz +else + OUTNAME = archos.mod endif OBJS := $(SRC:%.c=$(OBJDIR)/%.o) -all : $(OBJDIR)/archos.mod # archos.asm +all : $(OBJDIR)/$(OUTNAME) $(OBJDIR)/librockbox.a: make -C $(FIRMWARE) TARGET=$(TARGET) DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) @@ -59,8 +62,8 @@ $(OBJDIR)/archos.bin : $(OBJDIR)/archos.elf $(OBJDIR)/archos.asm: $(OBJDIR)/archos.bin ../tools/sh2d -sh1 $(OBJDIR)/archos.bin > $(OBJDIR)/archos.asm -$(OBJDIR)/archos.mod : $(OBJDIR)/archos.bin - ../tools/scramble $(OBJDIR)/archos.bin $(OBJDIR)/archos.mod +$(OBJDIR)/$(OUTNAME) : $(OBJDIR)/archos.bin + ../tools/scramble $(OBJDIR)/archos.bin $(OBJDIR)/$(OUTNAME) $(OBJDIR)/%.o: %.c @mkdir -p `dirname $@` @@ -70,7 +73,7 @@ dist: tar czvf dist.tar.gz Makefile main.c start.s app.lds clean: - -rm -f $(OBJS) $(OBJDIR)/archos.mod $(OBJDIR)/archos.asm \ + -rm -f $(OBJS) $(OBJDIR)/$(OUTNAME) $(OBJDIR)/archos.asm \ $(OBJDIR)/archos.bin $(OBJDIR)/archos.elf $(OBJDIR)/archos.map -$(RM) -r $(OBJDIR)/$(DEPS) -- cgit v1.2.3