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 0000000000..a6850e8246
--- /dev/null
+++ b/apps/codecs/libffmpegFLAC/Makefile.test
@@ -0,0 +1,21 @@
1# Simple Makefile for standalone testing of decoder
2
3OBJS=main.o decoder.o bitstream.o
4CFLAGS=-O2 -Wall -DBUILD_STANDALONE
5CC=gcc
6
7# Uncomment the next line to build on a big-endian target:
8
9#CFLAGS += -DBUILD_BIGENDIAN
10
11all: test
12
13main.o: main.c decoder.h
14decoder.o: decoder.c bitstream.h golomb.h decoder.h
15bitstream.o: bitstream.c
16
17test: $(OBJS)
18 gcc -o test $(OBJS)
19
20clean:
21 rm -f test $(OBJS) *~