summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Martin <mister_wavey@rockbox.org>2002-04-30 19:34:31 +0000
committerStuart Martin <mister_wavey@rockbox.org>2002-04-30 19:34:31 +0000
commit74e720c564214a55011b542a38f15d4c3d2c41c2 (patch)
treed30e404142a3d7c57359429af7850cdd4d566ea3
parent81f574578dd1ed9a89a520851ec139612f5f7f6e (diff)
win32 makefile for harness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@343 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/test/wavey/Makefile.win3243
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 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id$
+#
+
+# Pick a target to build for
+TARGET = -DARCHOS_PLAYER=1
+#TARGET = -DARCHOS_PLAYER_OLD=1
+#TARGET = -DARCHOS_RECORDER=1
+
+CC = gcc
+LD = ld
+AR = ar
+AS = as
+OC = objcopy
+scramble = scramble-win32
+
+INCLUDES=-I. -Icommon -Idrivers
+TARGET_OPTIONS =
+CFLAGS = -Os -Wall ${TARGET_OPTIONS} -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET)
+AFLAGS += -small -relax
+
+SRC := playlist.c settings.c panic.c disk.c debug.c harness.c
+OBJS := $(SRC:%.c=%.o)
+
+%.o: %.s
+ $(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $<
+
+all : rockbox-win32.exe
+
+rockbox-win32.exe: $(OBJS)
+ $(CC) -o rockbox-win32.exe ${OBJS}
+
+dist:
+ tar czvf dist.tar.gz Makefile main.c start.s app.lds
+
+clean:
+ -rm -f *.x *.i *.o *.elf *.bin *.map *.mod *.bak *~
+