]> git.saurik.com Git - wxWidgets.git/blobdiff - src/png/makefile.vc
fixed false alert in wxRegKey::DeleteSelf
[wxWidgets.git] / src / png / makefile.vc
index bd797dfff5783ecf702c2842d58b01bde9e3e557..61b7be06a5e0b0e3f88c7c31a34ac189a4991933 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
 
@@ -66,6 +71,6 @@ $(OBJECTS)
 clean:
         -erase *.obj
         -erase *.exe
-        -erase *.lib
+        -erase $(WINPNGLIB)
 
 cleanall:      clean