diff options
Diffstat (limited to 'contrib/pngminim/encoder/makefile')
-rw-r--r-- | contrib/pngminim/encoder/makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/pngminim/encoder/makefile b/contrib/pngminim/encoder/makefile index e2ccbbc28..810b8c8fa 100644 --- a/contrib/pngminim/encoder/makefile +++ b/contrib/pngminim/encoder/makefile @@ -14,8 +14,7 @@ LD=$(CC) RM=rm -f COPY=cp -CPPFLAGS=-I. -DPNG_USER_CONFIG -DNO_GZCOMPRESS -DZ_SOLO -DNO_GZIP -CFLAGS=-O1 +CFLAGS=-DPNG_USER_CONFIG -DZ_SOLO -DNO_GZIP -I. -O1 C=.c O=.o @@ -81,7 +80,7 @@ OBJS = $(PROGOBJS) $(PNGOBJS) $(ZOBJS) # implicit make rules ------------------------------------------------------- .c$(O): - $(CC) $(CPPFLAGS) -c $(CFLAGS) $< + $(CC) -c $(CFLAGS) $< # dependencies @@ -95,12 +94,12 @@ pnm2pngm$(E): $(OBJS) # The CPP_FLAGS setting causes pngusr.h to be included in # both the build of pnglibconf.h and, subsequently, when # building libpng itself. -$(PNGCONF): $(PNGSRC)/scripts/pnglibconf.mak $(ZH)\ +$(PNGCONF): $(PNGSRC)/scripts/pnglibconf.mak\ $(PNGSRC)/scripts/pnglibconf.dfa \ $(PNGSRC)/scripts/options.awk pngusr.h pngusr.dfa $(RM) pnglibconf.h pnglibconf.dfn $(MAKE) $(MAKEFLAGS) -f $(PNGSRC)/scripts/pnglibconf.mak\ - srcdir=$(PNGSRC) CPPFLAGS="-DPNG_USER_CONFIG -I."\ + srcdir=$(PNGSRC) CPPFLAGS="-DPNG_USER_CONFIG"\ DFA_XTRA="pngusr.dfa" $@ clean: |