summaryrefslogtreecommitdiff
path: root/apps/codecs/libffmpegFLAC/Makefile.test
diff options
context:
space:
mode:
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) *~