don't fail on clean when TARGET doesn't exist

This commit is contained in:
Laurent Vivier 2007-09-06 22:36:58 +00:00
parent 32aeab4427
commit 4dd44e4d60

View File

@ -26,7 +26,7 @@ dist:
ifdef TARGET
clean:
cd $(TARGET) && \
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY)
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY) || true
else
clean:
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY) $(CLEAN) $(LIBRARIES) $(MANPAGES) $(MANPAGES:.8.gz=.8)