]> git.saurik.com Git - wxWidgets.git/blobdiff - src/png/makefile.vc
Use system default font for all platforms
[wxWidgets.git] / src / png / makefile.vc
index bd797dfff5783ecf702c2842d58b01bde9e3e557..94244472b839d2b3b617d450424ada06e04c91e0 100644 (file)
@@ -14,7 +14,12 @@ WXDIR = $(WXWIN)
 
 WINPNGDIR = ..\png
 WINPNGINC = $(WINPNGDIR)
-WINPNGLIB = ..\..\lib\winpng.lib
+
+!if "$(FINAL)" == "1"
+WINPNGLIB=..\..\lib\png.lib
+!else
+WINPNGLIB=..\..\lib\pngd.lib
+!endif
 
 INC = /I..\zlib
 
@@ -54,7 +59,7 @@ OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \
 all:    $(WINPNGLIB)
 
 $(WINPNGLIB):      $(OBJECTS)
-        -erase $(WINPNGLIB)
+        -del $(WINPNGLIB)
         lib @<<
 -out:$(WINPNGLIB)
 $(OBJECTS)