LDFLAGS= $(MODEL)
O=.obj
-LIBTARGET=..\..\..\lib\zlib.lib
+LIBTARGET=..\..\lib\zlib.lib
# variables
OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \
minigzip.obj: minigzip.c zlib.h zconf.h
$(CC) -c $(CFLAGS) $*.c
+lib: $(LIBTARGET)
+
# we must cut the command line to fit in the MS/DOS 128 byte limit:
-$(LIBTARGET: $(OBJ1) $(OBJ2)
+$(LIBTARGET): $(OBJ1) $(OBJ2)
del $(LIBTARGET)
$(LIB) $(LIBTARGET) +$(OBJP1)
$(LIB) $(LIBTARGET) +$(OBJP2)
echo hello world | minigzip | minigzip -d
clean:
- del *.obj
- del *.exe
- del $(LIBTARGET)
+ erase *.obj
+ erase *.exe
+ erase $(LIBTARGET)