[libpng15] Eliminated use of "$<" when copying $PNGLIBCONF_H_PREBUILT

in makefiles. This does not work on some versions of make; bug introduced
in libpng version 1.5.19beta03.
This commit is contained in:
Glenn Randers-Pehrson
2014-08-07 20:27:46 -05:00
parent cdc0ed8424
commit 7de192f1e7
31 changed files with 51 additions and 45 deletions

View File

@@ -15,8 +15,8 @@ LDFLAGS=-m$(MODEL) -L..\zlib
CP=copy
# Pre-built configuration
# See scripts/pnglibconf.mak for more options
PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt
# See scripts\pnglibconf.mak for more options
PNGLIBCONF_H_PREBUILT = scripts\pnglibconf.h.prebuilt
O=.obj
E=.exe
@@ -32,7 +32,7 @@ OBJSL3 = +pngwrite$(O) +pngrtran$(O) +pngwtran$(O) +pngrio$(O) +pngwio$(O)
all: libpng$(MODEL).lib pngtest$(E)
pnglibconf.h: $(PNGLIBCONF_H_PREBUILT)
$(CP) $< $@
$(CP) $(PNGLIBCONF_H_PREBUILT) $@
pngtest: pngtest$(E)