From d79fdbc46e3ba5b8d8a66bb0a409ddaf25f86191 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Sun, 19 Aug 2007 23:23:50 +0000 Subject: ignore errors of the RM command; seems that the del command fails on W2K when the file to delete isnt found while on XP it only prints the warning but make continues.... --- lib/Makefile.m32 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/Makefile.m32') diff --git a/lib/Makefile.m32 b/lib/Makefile.m32 index 92540b91c..0cb82ec72 100644 --- a/lib/Makefile.m32 +++ b/lib/Makefile.m32 @@ -86,7 +86,7 @@ RESOURCE = libcurl.res all: $(libcurl_a_LIBRARY) $(libcurl_dll_LIBRARY) $(libcurl_a_LIBRARY): $(libcurl_a_OBJECTS) $(libcurl_a_DEPENDENCIES) - $(RM) $@ + -$(RM) $@ $(AR) cru $@ $(libcurl_a_OBJECTS) $(RANLIB) $@ $(STRIP) $@ @@ -94,7 +94,7 @@ $(libcurl_a_LIBRARY): $(libcurl_a_OBJECTS) $(libcurl_a_DEPENDENCIES) # remove the last line above to keep debug info $(libcurl_dll_LIBRARY): $(libcurl_a_OBJECTS) $(RESOURCE) $(libcurl_dll_DEPENDENCIES) - $(RM) $@ + -$(RM) $@ $(CC) $(LDFLAGS) -shared -Wl,--out-implib,$(libcurl_dll_a_LIBRARY) \ -o $@ $(libcurl_a_OBJECTS) $(RESOURCE) $(DLL_LIBS) @@ -105,10 +105,10 @@ $(libcurl_dll_LIBRARY): $(libcurl_a_OBJECTS) $(RESOURCE) $(libcurl_dll_DEPENDENC $(RC) $(RCFLAGS) $< -o $@ clean: - $(RM) $(libcurl_a_OBJECTS) $(RESOURCE) + -$(RM) $(libcurl_a_OBJECTS) $(RESOURCE) distrib: clean - $(RM) $(libcurl_a_LIBRARY) $(libcurl_dll_LIBRARY) $(libcurl_dll_a_LIBRARY) + -$(RM) $(libcurl_a_LIBRARY) $(libcurl_dll_LIBRARY) $(libcurl_dll_a_LIBRARY) $(ARES_LIB)/libcares.a: $(MAKE) -C $(ARES_LIB) -f Makefile.m32 -- cgit v1.2.3