From 0901458015acb24a5305de3c40c3d84e0bbfe22f Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Mon, 3 Feb 2014 11:42:45 -0800 Subject: [PATCH] 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 --- third_party/libmkv/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/third_party/libmkv/Makefile b/third_party/libmkv/Makefile index b53377b21..71aee2397 100644 --- a/third_party/libmkv/Makefile +++ b/third_party/libmkv/Makefile @@ -1,8 +1,9 @@ #Variables CC=gcc LINKER=gcc -FLAGS= +FLAGS=-g -Wall +all: testlibmkv #Build Targets EbmlWriter.o: EbmlWriter.c EbmlWriter.h @@ -10,16 +11,15 @@ EbmlWriter.o: EbmlWriter.c EbmlWriter.h EbmlBufferWriter.o: EbmlBufferWriter.c EbmlBufferWriter.h $(CC) $(FLAGS) -c EbmlBufferWriter.c - -MkvElement.o: MkvElement.c WebMElement.h - $(CC) $(FLAGS) -c MkvElement.c - + +WebMElement.o: WebMElement.c WebMElement.h + $(CC) $(FLAGS) -c WebMElement.c + testlibmkv.o: testlibmkv.c $(CC) $(FLAGS) -c testlibmkv.c - -testlibmkv: testlibmkv.o MkvElement.o EbmlBufferWriter.o EbmlWriter.o - $(LINKER) $(FLAGS) testlibmkv.o MkvElement.o EbmlBufferWriter.o EbmlWriter.o -o testlibmkv + +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 - \ No newline at end of file -- 2.50.1