Ignore failure when deleting something that might not exist

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Brian Macy 1999-03-29 21:17:51 +00:00
parent a43e96b6ce
commit e87b7b6000
3 changed files with 12 additions and 12 deletions

View File

@ -15,7 +15,7 @@ WXDIR = $(WXWIN)
!include $(WXDIR)\src\makeb32.env
$(LIBTARGET): $(OBJECTS)
erase $(LIBTARGET)
-erase $(LIBTARGET)
tlib $(LIBTARGET) /P512 @&&!
-+$(OBJECTS:.obj =.obj -+)
!

View File

@ -265,7 +265,7 @@ all: all_libs all_execs
!if "$(DLL)" == "0"
$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
erase $(LIBTARGET)
-erase $(LIBTARGET)
tlib $(LIBTARGET) /P512 @&&!
-+$(OBJECTS:.obj =.obj -+) -+$(PERIPH_LIBS:.lib =.lib -+)
!
@ -273,8 +273,8 @@ $(LIBTARGET): $(DUMMY).obj $(OBJECTS)
!else
$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
erase $(LIBTARGET)
erase $(WXLIBDIR)\wx.dll
-erase $(LIBTARGET)
-erase $(WXLIBDIR)\wx.dll
tlink32 $(LINK_FLAGS) /v @&&!
c0d32.obj $(OBJECTS)
$(WXLIBDIR)\wx
@ -716,13 +716,13 @@ $(WIN95FLAG)
# -Oxt
clean: $(PERIPH_CLEAN_TARGET)
erase $(LIBTARGET)
erase *.obj
erase *.pch
erase *.csm
erase *.cfg
erase ..\common\y_tab.c
erase ..\common\lex_yy.c
-erase $(LIBTARGET)
-erase *.obj
-erase *.pch
-erase *.csm
-erase *.cfg
-erase ..\common\y_tab.c
-erase ..\common\lex_yy.c
cleanall: clean

View File

@ -36,7 +36,7 @@ OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \
all: $(WINPNGLIB)
$(WINPNGLIB): $(OBJECTS)
erase $(WINPNGLIB)
-erase $(WINPNGLIB)
tlib $(WINPNGLIB) /P512 @&&!
-+$(OBJECTS:.obj =.obj -+)
!