[libpng16] $(CP) is now used alongside $(RM_F). Also, use 'copy' instead

of 'cp' where applicable, and applied other minor makefile changes.
This commit is contained in:
Cosmin Truta
2014-03-22 09:29:59 -05:00
committed by Glenn Randers-Pehrson
parent 6572c7dab5
commit 82200daec2
38 changed files with 88 additions and 45 deletions

View File

@@ -11,10 +11,11 @@
## Where zlib.h, zconf.h and zlib.lib are
ZLIB_DIR=..\zlib
## Compiler, linker and lib stuff
## Compiler, linker, librarian and other tools
CC=bcc32
LD=bcc32
LIB=tlib
CP=copy
# -3 = 386, -4 = 486, -5 = Pentium etc.
!ifndef TARGET_CPU
@@ -114,7 +115,7 @@ test: pngtest.exe
# see scripts\pnglibconf.mak for how to make this file
# with different options
pnglibconf.h: scripts\pnglibconf.h.prebuilt
copy scripts\pnglibconf.h.prebuilt $@
$(CP) $< $@
png.obj: png.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
pngerror.obj: pngerror.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h