diff options
Diffstat (limited to 'firmware/test/wavey')
-rw-r--r-- | firmware/test/wavey/Makefile.win32 | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/firmware/test/wavey/Makefile.win32 b/firmware/test/wavey/Makefile.win32 new file mode 100644 index 0000000000..2374e85891 --- /dev/null +++ b/firmware/test/wavey/Makefile.win32 | |||
@@ -0,0 +1,43 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id$ | ||
8 | # | ||
9 | |||
10 | # Pick a target to build for | ||
11 | TARGET = -DARCHOS_PLAYER=1 | ||
12 | #TARGET = -DARCHOS_PLAYER_OLD=1 | ||
13 | #TARGET = -DARCHOS_RECORDER=1 | ||
14 | |||
15 | CC = gcc | ||
16 | LD = ld | ||
17 | AR = ar | ||
18 | AS = as | ||
19 | OC = objcopy | ||
20 | scramble = scramble-win32 | ||
21 | |||
22 | INCLUDES=-I. -Icommon -Idrivers | ||
23 | TARGET_OPTIONS = | ||
24 | CFLAGS = -Os -Wall ${TARGET_OPTIONS} -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) | ||
25 | AFLAGS += -small -relax | ||
26 | |||
27 | SRC := playlist.c settings.c panic.c disk.c debug.c harness.c | ||
28 | OBJS := $(SRC:%.c=%.o) | ||
29 | |||
30 | %.o: %.s | ||
31 | $(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $< | ||
32 | |||
33 | all : rockbox-win32.exe | ||
34 | |||
35 | rockbox-win32.exe: $(OBJS) | ||
36 | $(CC) -o rockbox-win32.exe ${OBJS} | ||
37 | |||
38 | dist: | ||
39 | tar czvf dist.tar.gz Makefile main.c start.s app.lds | ||
40 | |||
41 | clean: | ||
42 | -rm -f *.x *.i *.o *.elf *.bin *.map *.mod *.bak *~ | ||
43 | |||