If the variable GZIP exists in the environment, overriding it in the
Makefile exports it into the environment, causing failures:
gzip -cd syslogo.ppm.gz | \
../ppmtolss16 \#000000=0 \#d0d0d0=7 \#f6f6f6=15 \
> syslogo.lss
gzip.gz: No such file or directory
204480 pixels, 25715 bytes, (74.85% compression)
Use $GZIPPROG instead.
OBJCOPY = objcopy
PPMTOLSS16 = ../ppmtolss16
LIB = liboldcom32.a
-GZIP = gzip
+GZIPPROG = gzip
PNGTOPNM = pngtopnm
LIBOBJS = conio.o atou.o skipatou.o printf.o c32exit.o
$(RANLIB) $@
%.lss: %.ppm.gz $(PPMTOLSS16)
- $(GZIP) -cd $< | \
+ $(GZIPPROG) -cd $< | \
$(PPMTOLSS16) \#000000=0 \#d0d0d0=7 \#f6f6f6=15 \
> $@