WINPNGDIR = ..\png
WINPNGINC = $(WINPNGDIR)
-WINPNGLIB = ..\..\lib\winpng.lib
+
+!if "$(FINAL)" == "1"
+WINPNGLIB=..\..\lib\png.lib
+!else
+WINPNGLIB=..\..\lib\pngd.lib
+!endif
INC = /I..\zlib
all: $(WINPNGLIB)
$(WINPNGLIB): $(OBJECTS)
- -erase $(WINPNGLIB)
+ -del $(WINPNGLIB)
lib @<<
-out:$(WINPNGLIB)
$(OBJECTS)