summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-05 11:14:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-05 11:14:58 +0000
commitcd9630241857b3b888f0e3c689ecb361dc58d676 (patch)
tree4d51865df00f4f3bb9268cf4876cf73f91ef795d
parentc484ae4494c6aab821b70a04ac59cc4e3739f44f (diff)
builds wavey's playlist test harness on Linux/unix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@436 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/test/wavey/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/firmware/test/wavey/Makefile b/firmware/test/wavey/Makefile
new file mode 100644
index 0000000000..298134ca80
--- /dev/null
+++ b/firmware/test/wavey/Makefile
@@ -0,0 +1,56 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id$
+#
+
+FIRMWARE = ../..
+COMMON = $(FIRMWARE)/common
+DRIVERS = $(FIRMWARE)/drivers
+
+CC = gcc
+LD = ld
+AR = ar
+AS = as
+OC = objcopy
+scramble = scramble-win32
+DEFINES = -DCRT_DISPLAY -DDEBUG
+INCLUDES=-I. -I$(FIRMWARE) -I$(COMMON) -I$(DRIVERS)
+TARGET_OPTIONS =
+CFLAGS = -g -Wall ${TARGET_OPTIONS} -Wstrict-prototypes $(INCLUDES) $(DEFINES)
+
+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
+
+rockbox: $(OBJS)
+ $(CC) -o $@ ${OBJS}
+
+playlist.o:$(FIRMWARE)/playlist.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
+settings.o:$(FIRMWARE)/settings.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
+panic.o:$(FIRMWARE)/panic.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
+disk.o:$(FIRMWARE)/disk.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
+debug.o:$(FIRMWARE)/debug.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
+dist:
+ tar czvf dist.tar.gz Makefile main.c start.s app.lds
+
+clean:
+ -rm -f *.x *.i *.o *.elf *.bin *.map *.mod *.bak *~
+