[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

@@ -30,6 +30,8 @@ LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
#RANLIB=ranlib
RANLIB=echo
CP=cp
OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
pngwtran.o pngmem.o pngerror.o pngpread.o
@@ -41,7 +43,7 @@ all: libpng.a pngtest
# see scripts/pnglibconf.mak for more options
pnglibconf.h: scripts/pnglibconf.h.prebuilt
cp scripts/pnglibconf.h.prebuilt $@
$(CP) $< $@
libpng.a: $(OBJS)
ar rc $@ $(OBJS)