diff options
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.2.35/contrib/pngminim/decoder/makefile.std')
-rw-r--r-- | Build/source/libs/libpng/libpng-1.2.35/contrib/pngminim/decoder/makefile.std | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Build/source/libs/libpng/libpng-1.2.35/contrib/pngminim/decoder/makefile.std b/Build/source/libs/libpng/libpng-1.2.35/contrib/pngminim/decoder/makefile.std new file mode 100644 index 00000000000..27e04cbdee0 --- /dev/null +++ b/Build/source/libs/libpng/libpng-1.2.35/contrib/pngminim/decoder/makefile.std @@ -0,0 +1,44 @@ +# Makefile for PngMinus (pngm2pnm) +# Linux / Unix + +#CC=cc +CC=gcc +LD=$(CC) + +RM=rm -f + +CFLAGS=-DPNG_USER_CONFIG -DNO_GZCOMPRESS -DNO_GZIP \ + -DdeflateParams\(a,b,c\)=Z_OK -I. -O1 + +C=.c +O=.o +L=.a +E= + +ZOBJS = adler32$(O) crc32$(O) gzio$(O) \ + infback$(O) inffast$(O) inflate$(O) inftrees$(O) \ + trees$(O) uncompr$(O) zutil$(O) + +OBJS = pngm2pnm$(O) png$(O) pngerror$(O) pngget$(O) pngmem$(O) \ + pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) \ + pngset$(O) pngtrans$(O) $(ZOBJS) + +# implicit make rules ------------------------------------------------------- + +.c$(O): png.h pngconf.h pngusr.h zlib.h + $(CC) -c $(CFLAGS) $< + +# dependencies + +all: pngm2pnm$(E) + +pngm2pnm$(E): $(OBJS) + $(LD) -o pngm2pnm$(E) $(OBJS) + strip pngm2pnm$(E) + +clean: + $(RM) pngm2pnm$(O) + $(RM) pngm2pnm$(E) + $(RM) $(OBJS) + +# End of makefile for pngm2pnm |