[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

@@ -37,6 +37,7 @@ CC = gcc
LD = $(CC)
AR_RC = ar rcs
RANLIB = ranlib
CP = cp
RM_F = rm -rf
MKDIR_P=mkdir -p
LN_SF=ln -sf
@@ -83,7 +84,7 @@ all: static shared
# see scripts/pnglibconf.mak for more options
pnglibconf.h: scripts/pnglibconf.h.prebuilt
cp scripts/pnglibconf.h.prebuilt $@
$(CP) $< $@
.c.o:
$(CC) -c $(CPPFLAGS) $(CFLAGS) $<