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)