2005-10-26 12:35:58 +00:00
|
|
|
# Simple Makefile for standalone testing of decoder
|
|
|
|
|
2008-07-19 08:41:21 +00:00
|
|
|
OBJS=main.o decoder.o bitstream.o tables.o
|
2005-10-26 12:35:58 +00:00
|
|
|
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) *~
|