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
This commit is contained in:
Vikas Arora 2011-09-30 15:14:06 +05:30
parent 8a360d0a69
commit e78e971e98

View File

@ -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)