From e78e971e9807b4558eb2f94841814961dfb18703 Mon Sep 17 00:00:00 2001 From: Vikas Arora Date: Fri, 30 Sep 2011 15:14:06 +0530 Subject: [PATCH] Add Makefile.vc for Mux library & binary. Add Makefile.vc for Windows platform to build Mux library and example command line tool. Change-Id: Ic9e2290feda0ae3e2f2fb3c5f8d46e79eada71a3 --- Makefile.vc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile.vc b/Makefile.vc index 6ed22995..7ee73799 100644 --- a/Makefile.vc +++ b/Makefile.vc @@ -166,13 +166,16 @@ X_OBJS= \ $(DIROBJ)\utils\bit_reader.obj \ $(DIROBJ)\utils\bit_writer.obj \ $(DIROBJ)\utils\thread.obj \ + $(DIROBJ)\mux\mux.obj \ $(RESOURCE) EXAMPLES_OBJS = \ $(DIROBJ)\examples\cwebp.obj \ - $(DIROBJ)\examples\dwebp.obj + $(DIROBJ)\examples\dwebp.obj \ + $(DIROBJ)\examples\webpmux.obj -all: $(DIRLIB)\$(TARGET) $(DIRBIN)\dwebp.exe $(DIRBIN)\cwebp.exe +all: $(DIRLIB)\$(TARGET) $(DIRBIN)\dwebp.exe $(DIRBIN)\cwebp.exe \ + $(DIRBIN)\webpmux.exe # Additional include and library paths (for zlib) can be passed via the CL and # LINK environment variables respectively: @@ -211,6 +214,9 @@ $(DIROBJ)\dsp: $(DIROBJ)\utils: @if not exist "$(DIROBJ)\utils" mkdir $(DIROBJ)\utils +$(DIROBJ)\mux: + @if not exist "$(DIROBJ)\mux" mkdir $(DIROBJ)\mux + $(DIRLIB): @if not exist "$(DIRLIB)" mkdir $(DIRLIB) @@ -238,6 +244,8 @@ $(DIROBJ)\$(DLLINC): $(CC) $(CFLAGS) /Fo"$@" $< {src\utils}.c{$(DIROBJ)\utils}.obj: $(CC) $(CFLAGS) /Fo"$@" $< +{src\mux}.c{$(DIROBJ)\mux}.obj: + $(CC) $(CFLAGS) /Fo"$@" $< {$(DIROBJ)\examples}.obj{$(DIRBIN)}.exe: $(LNKEXE) $(LDFLAGS) /OUT:"$@" $< ole32.lib windowscodecs.lib shlwapi.lib $(DIRLIB)\$(TARGET)