OBJP2=trees$(O)+zutil$(O)+inflate$(O)+infblock$(O)+inftrees$(O)+infcodes$(O)
OBJP3=infutil$(O)+inffast$(O)
-all: test
+# all: test
+
+all: $(LIBTARGET)
adler32.obj: adler32.c zutil.h zlib.h zconf.h
$(CC) $(CFLAGS) $*.c
# we must cut the command line to fit in the MS/DOS 128 byte limit:
$(LIBTARGET): $(OBJ1) $(OBJ2) $(OBJ3)
- del $(LIBTARGET)
+ if exist $(LIBTARGET) del $(LIBTARGET)
$(LIB) $(LIBTARGET) +$(OBJP1)
$(LIB) $(LIBTARGET) +$(OBJP2)
$(LIB) $(LIBTARGET) +$(OBJP3)
echo hello world | minigzip | minigzip -d >test
type test
-clean:
+clean: .SYMBOLIC
-erase *.obj
-erase *.exe
-erase $(LIBTARGET)