diff --git a/Makefile.vc b/Makefile.vc index 563fb01f..d35238bb 100644 --- a/Makefile.vc +++ b/Makefile.vc @@ -92,6 +92,8 @@ CFGSET = TRUE !MESSAGE - debug-static - debug static library !MESSAGE may be: !MESSAGE - clean - perform a clean for CFG +!MESSAGE - experimental - build CFG with experimental +!MESSAGE . features enabled. Requires zlib. !MESSAGE !MESSAGE controls the runtime library linkage - can be 'static' or 'dynamic'. !MESSAGE can be left blank in which case all is assumed @@ -148,6 +150,15 @@ EXAMPLES_OBJS = \ all: $(DIRLIB)\$(TARGET) $(DIRBIN)\dwebp.exe $(DIRBIN)\cwebp.exe +# Additional include and library paths (for zlib) can be passed via the CL and +# LINK environment variables respectively: +# > set CL=/I\zlib\include +# > set LINK=\zlib\zlib.lib +# > nmake /f Makefile.vc CFG=release-static experimental +experimental: + $(MAKE) /f Makefile.vc \ + CFG=$(CFG) CFLAGS="$(CFLAGS) /DWEBP_EXPERIMENTAL_FEATURES" /$(MAKEFLAGS) + $(DIRLIB)\$(TARGET): $(X_OBJS) $(LNK) $(LFLAGS) $(X_OBJS) -xcopy $(DIROBJ)\$(LIB_NAME).dll $(DIRBIN) /y