X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..520e470fdd0daef09c77938db642e4583933c90d:/src/zlib/makefile.b32?ds=inline diff --git a/src/zlib/makefile.b32 b/src/zlib/makefile.b32 index bca4e90370..256f7fffa1 100644 --- a/src/zlib/makefile.b32 +++ b/src/zlib/makefile.b32 @@ -21,7 +21,7 @@ LIB=tlib 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) \ @@ -85,8 +85,10 @@ example.obj: example.c zlib.h zconf.h 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) @@ -102,6 +104,6 @@ test: example.exe minigzip.exe echo hello world | minigzip | minigzip -d clean: - del *.obj - del *.exe - del $(LIBTARGET) + erase *.obj + erase *.exe + erase $(LIBTARGET)