X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58abfef64f8b685c8e77a608f24cb1b618e3c83c..4e57b0d49515043e7b4083eb596ac5044ccb950e:/src/makevc.env diff --git a/src/makevc.env b/src/makevc.env index 28a66ef729..d73db5b206 100644 --- a/src/makevc.env +++ b/src/makevc.env @@ -29,6 +29,8 @@ CPU=i386 OBJSUFF=obj SRCSUFF=cpp +WAITFLAG=/w + # If you set wxUSE_IOSTREAMH to 0, remove -Dtry=__try -Dexcept=__except -Dleave=__leave -Dfinally=__finally #WINFLAGS=-c -W3 -Dtry=__try -Dexcept=__except -Dleave=__leave -Dfinally=__finally -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -DWIN32 -D__WIN32__ $(WINVERSION) WINFLAGS=-c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -DWIN32 -D__WIN32__ $(WINVERSION) @@ -118,6 +120,10 @@ WXLIBNAME=wx200 WXLIBNAME=wx !endif +!if "$(NEW_WXLIBNAME)" != "" +WXLIBNAME=$(NEW_WXLIBNAME) +!endif + !if "$(FINAL)" == "1" D=Release !else @@ -132,7 +138,7 @@ D=$(D)DLL WXLIB=$(WXDIR)\lib\$(WXLIBNAME).lib INC=-I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/zlib -I$(WXDIR)/src/jpeg $(EXTRAINC) -LIBS = $(EXTRALIBS) $(WXLIB) $(WINLIBS) $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\xpm.lib +LIBS = $(EXTRALIBS) $(WXLIB) $(WINLIBS) $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\jpeg.lib $(WXDIR)\lib\xpm.lib MAKEPRECOMP=/YcWX/WXPREC.H OPTIONS= @@ -188,3 +194,13 @@ LINKFLAGS=$(LINK_DEBUG_FLAGS) -machine:i386 -subsystem:windows,$(APPVER) -dll # DUMMYOBJ=$(WXDIR)\src\msw\$D\$(DUMMY).obj +.c.obj: + cl @<< +$(CPPFLAGS2) /Fo$@ /c $< +<< + +.cpp.obj: + cl @<< +$(CPPFLAGS2) /Fo$@ /c $< +<< +