[libpng16] Allow an easy replacement of the default pre-built configuration

header with a custom header, via the make PNGLIBCONF_H_PREBUILT
macro.
This commit is contained in:
Cosmin Truta
2014-03-22 13:13:11 -05:00
committed by Glenn Randers-Pehrson
parent ae6eaa89e5
commit 9ab7b4ca58
35 changed files with 168 additions and 64 deletions

View File

@@ -37,8 +37,7 @@ CLEANFILES+=pngtest.o pngtest pnglibconf.h
.c.o:
$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
# see scripts/pnglibconf.mak for more options
pnglibconf.h: scripts/pnglibconf.h.prebuilt
pnglibconf.h: $(PNGLIBCONF_H_PREBUILT)
cp $< $@
pngtest.o: pngtest.c