[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

@@ -23,8 +23,8 @@ CP = copy
RM = del
# 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
# File extensions
O=.obj
@@ -42,7 +42,7 @@ OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
all: libpng.lib
pnglibconf.h: $(PNGLIBCONF_H_PREBUILT)
$(CP) $< $@
$(CP) $(PNGLIBCONF_H_PREBUILT) $@
png$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
$(CC) -c $(CPPFLAGS) $(CFLAGS) $*.c $(ERRFILE)