vpx/third_party/libmkv/Makefile
Ralph Giles 0901458015 libmkv: fix Makefile.
Update the local makefile to build all the files and the test
application by default to simplify build verification.

Change-Id: Ic10141ea14c85110ff7507447d16297b77d296e9
2014-02-05 23:00:22 -08:00

26 lines
579 B
Makefile

#Variables
CC=gcc
LINKER=gcc
FLAGS=-g -Wall
all: testlibmkv
#Build Targets
EbmlWriter.o: EbmlWriter.c EbmlWriter.h
$(CC) $(FLAGS) -c EbmlWriter.c
EbmlBufferWriter.o: EbmlBufferWriter.c EbmlBufferWriter.h
$(CC) $(FLAGS) -c EbmlBufferWriter.c
WebMElement.o: WebMElement.c WebMElement.h
$(CC) $(FLAGS) -c WebMElement.c
testlibmkv.o: testlibmkv.c
$(CC) $(FLAGS) -c testlibmkv.c
testlibmkv: testlibmkv.o WebMElement.o EbmlBufferWriter.o EbmlWriter.o
$(LINKER) $(FLAGS) -o testlibmkv testlibmkv.o WebMElement.o EbmlBufferWriter.o EbmlWriter.o
clean:
rm -rf *.o testlibmkv