summaryrefslogtreecommitdiff
path: root/third_party/libmkv/Makefile
diff options
context:
space:
mode:
authorRalph Giles <giles@mozilla.com>2014-02-03 11:42:45 -0800
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-02-05 23:00:22 -0800
commit0901458015acb24a5305de3c40c3d84e0bbfe22f (patch)
treec726f8dfa3360cb2547c4f70c588a77638c6567f /third_party/libmkv/Makefile
parentcebda1b65cf821b3dd7bbdd3a93c8e2bfe9b499b (diff)
downloadlibvpx-0901458015acb24a5305de3c40c3d84e0bbfe22f.tar
libvpx-0901458015acb24a5305de3c40c3d84e0bbfe22f.tar.gz
libvpx-0901458015acb24a5305de3c40c3d84e0bbfe22f.tar.bz2
libvpx-0901458015acb24a5305de3c40c3d84e0bbfe22f.zip
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
Diffstat (limited to 'third_party/libmkv/Makefile')
-rw-r--r--third_party/libmkv/Makefile18
1 files 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