# For conditions of distribution and use, see the disclaimer
# and license in png.h
#
-# Note: Use #define PNG_READ_BIG_ENDIAN_SUPPORTED in pngconf.h
-#
# Location/path of zlib include files
ZLIB=/zlib
#compiler
LN= slink
# file deletion command
RM= delete quiet
+# file copy command?
+CP= copy
# library (.lib) file creation command
AR= oml
# make directory command
-$(RM) libpng.lib
$(AR) libpng.lib r $(OBJS)
+$(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h
+
+pnglibconf.h: scripts/pnglibconf.h.prebuilt
+$(CP) scripts/pnglibconf.h.prebuilt pnglibconf.h
+
pngtest: pngtest.o libpng.lib
$(LN) <WITH <
$(LDFLAGS)