X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a2c6ef8d186df490df28a694820a5e8afc4b5e8..38755449339718307f594d0c92f7d37ce56c908c:/src/zlib/makefile.wat diff --git a/src/zlib/makefile.wat b/src/zlib/makefile.wat index 7f196ab011..8b6dab6273 100644 --- a/src/zlib/makefile.wat +++ b/src/zlib/makefile.wat @@ -85,7 +85,7 @@ minigzip.obj: minigzip.c zlib.h zconf.h # 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) @@ -101,7 +101,7 @@ test: minigzip.exe example.exe echo hello world | minigzip | minigzip -d >test type test -clean: +clean: .SYMBOLIC -erase *.obj -erase *.exe -erase $(LIBTARGET)