diff options
Diffstat (limited to 'scripts/makefile.ibmc')
-rw-r--r-- | scripts/makefile.ibmc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/makefile.ibmc b/scripts/makefile.ibmc index 861a55157..2f5a03cae 100644 --- a/scripts/makefile.ibmc +++ b/scripts/makefile.ibmc @@ -21,12 +21,17 @@ ZLIBLIB = ../zlib CC = icc LD = ilink AR = ilib +CP = copy RM = del CPPFLAGS = -I$(ZLIBINC) CFLAGS = -Mc -O2 -W3 LDFLAGS = +# Pre-built configuration +# See scripts/pnglibconf.mak for more options +PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt + # File extensions O=.obj A=.lib @@ -45,9 +50,8 @@ LIBS = libpng$(A) $(ZLIBLIB)/zlib$(A) all: libpng$(A) pngtest$(E) -# see scripts/pnglibconf.mak for more options -pnglibconf.h: scripts/pnglibconf.h.prebuilt - cp scripts/pnglibconf.h.prebuilt $@ +pnglibconf.h: $(PNGLIBCONF_H_PREBUILT) + $(CP) $< $@ libpng$(A): $(OBJS) $(AR) -out:$@ $(OBJS) |