summaryrefslogtreecommitdiff
path: root/apps/codecs/libffmpegFLAC/Makefile.test
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-10-26 12:35:58 +0000
committerDave Chapman <dave@dchapman.com>2005-10-26 12:35:58 +0000
commit273d2e81f72c7721447ab9c539877f6712faaecc (patch)
tree79c66b0b699ca65ac2cc2369cd5bbed764c35a4b /apps/codecs/libffmpegFLAC/Makefile.test
parent48be8e6a8b45fa16380af97829ba944430a78f17 (diff)
downloadrockbox-273d2e81f72c7721447ab9c539877f6712faaecc.zip
rockbox-273d2e81f72c7721447ab9c539877f6712faaecc.tar.gz
rockbox-273d2e81f72c7721447ab9c539877f6712faaecc.tar.bz2
rockbox-273d2e81f72c7721447ab9c539877f6712faaecc.tar.xz
New FLAC decoder from the ffmpeg project
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7656 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libffmpegFLAC/Makefile.test')
-rw-r--r--apps/codecs/libffmpegFLAC/Makefile.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/codecs/libffmpegFLAC/Makefile.test b/apps/codecs/libffmpegFLAC/Makefile.test
new file mode 100644
index 0000000..a6850e8
--- /dev/null
+++ b/apps/codecs/libffmpegFLAC/Makefile.test
@@ -0,0 +1,21 @@
+# Simple Makefile for standalone testing of decoder
+
+OBJS=main.o decoder.o bitstream.o
+CFLAGS=-O2 -Wall -DBUILD_STANDALONE
+CC=gcc
+
+# Uncomment the next line to build on a big-endian target:
+
+#CFLAGS += -DBUILD_BIGENDIAN
+
+all: test
+
+main.o: main.c decoder.h
+decoder.o: decoder.c bitstream.h golomb.h decoder.h
+bitstream.o: bitstream.c
+
+test: $(OBJS)
+ gcc -o test $(OBJS)
+
+clean:
+ rm -f test $(OBJS) *~