diff options
Diffstat (limited to 'apps/Makefile')
-rw-r--r-- | apps/Makefile | 6 |
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 | ||
42 | SRC := $(wildcard *.c) | 42 | SRC := $(wildcard *.c) |
43 | 43 | ||
44 | ifeq ($(TARGET), -DARCHOS_FMRECORDER) | ||
45 | SCRAMBLE_OPT = -fm | ||
46 | endif | ||
47 | |||
44 | ifeq ($(ANYREC), RECORDER) | 48 | ifeq ($(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 < $< > $@ |