summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 8259be67a2..4787ae52c8 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -41,6 +41,10 @@ endif
41 41
42SRC := $(wildcard *.c) 42SRC := $(wildcard *.c)
43 43
44ifeq ($(TARGET), -DARCHOS_FMRECORDER)
45 SCRAMBLE_OPT = -fm
46endif
47
44ifeq ($(ANYREC), RECORDER) 48ifeq ($(ANYREC), RECORDER)
45 SRC += $(wildcard recorder/*.c) 49 SRC += $(wildcard recorder/*.c)
46 CFLAGS += -Irecorder 50 CFLAGS += -Irecorder
@@ -77,7 +81,7 @@ $(OBJDIR)/archos.asm: $(OBJDIR)/archos.bin
77 ../tools/sh2d -sh1 $(OBJDIR)/archos.bin > $(OBJDIR)/archos.asm 81 ../tools/sh2d -sh1 $(OBJDIR)/archos.bin > $(OBJDIR)/archos.asm
78 82
79$(OBJDIR)/$(OUTNAME) : $(OBJDIR)/archos.bin 83$(OBJDIR)/$(OUTNAME) : $(OBJDIR)/archos.bin
80 ../tools/scramble $(OBJDIR)/archos.bin $(OBJDIR)/$(OUTNAME) 84 ../tools/scramble $(SCRAMBLE_OPT) $(OBJDIR)/archos.bin $(OBJDIR)/$(OUTNAME)
81 85
82$(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS 86$(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS
83 perl credits.pl < $< > $@ 87 perl credits.pl < $< > $@