WINPNGDIR = ..\png
WINPNGINC = $(WINPNGDIR)
-WINPNGLIB = ..\..\lib\winpng.lib
+
+!if "$(FINAL)" == "1"
+WINPNGLIB=..\..\lib\png.lib
+!else
+WINPNGLIB=..\..\lib\pngd.lib
+!endif
INC = /I..\zlib
clean:
-erase *.obj
-erase *.exe
- -erase *.lib
+ -erase $(WINPNGLIB)
cleanall: clean