X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7f49969d61742050e2caaf27528bdb96ffc8365..223d09f6b523aac674ef9b72a883dfa8d37c5d4e:/src/png/makefile.vc diff --git a/src/png/makefile.vc b/src/png/makefile.vc index b467d41b63..e028f53f0f 100644 --- a/src/png/makefile.vc +++ b/src/png/makefile.vc @@ -11,8 +11,6 @@ # Change WXDIR or WXWIN to wherever wxWindows is found WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -WXINC = $(WXDIR)\include WINPNGDIR = ..\png WINPNGINC = $(WINPNGDIR) @@ -31,8 +29,8 @@ PRECOMP=/YuWX.H !if "$(FINAL)" == "0" OPT = /Od -CPPFLAGS= /W4 /Zi /MD /GX $(ZOPTION) $(OPT) /D__WXMSW__ $(INC) -CFLAGS= /W4 /Zi /MD /GX /Od /D__WXMSW__ $(INC) +CPPFLAGS= /W4 /Zi /MDd /GX $(ZOPTION) $(OPT) /D__WXMSW__ $(INC) +CFLAGS= /W4 /Zi /MDd /GX /Od /D__WXMSW__ $(INC) LINKFLAGS=/NOD /CO /ONERROR:NOEXE !else # /Ox for real FINAL version @@ -49,7 +47,7 @@ OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \ all: $(WINPNGLIB) $(WINPNGLIB): $(OBJECTS) - erase $(WINPNGLIB) + -erase $(WINPNGLIB) lib @<< -out:$(WINPNGLIB) $(OBJECTS) @@ -59,8 +57,8 @@ $(OBJECTS) cl -DWIN32 $(OPT) $(CFLAGS) /c $*.c clean: - erase *.obj - erase *.exe - erase *.lib + -erase *.obj + -erase *.exe + -erase *.lib cleanall: clean