summaryrefslogtreecommitdiff
path: root/apps/codecs/libffmpegFLAC/Makefile.test
blob: 0bd9e521e4048cdc6bec56cf743f489dd4c2ae53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Simple Makefile for standalone testing of decoder

OBJS=main.o decoder.o bitstream.o tables.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) *~