From 617418b4c76497c5b1e8f808df6f2d8271cf2f84 Mon Sep 17 00:00:00 2001 From: raburton <Unknown> Date: Tue, 5 Jun 2007 16:50:50 +0000 Subject: [PATCH] fix clean targets in makefile so they don't fail if already clean --- common/makefile.gtk | 6 +++++- cvpcb/makefile.gtk | 4 ++-- eeschema/makefile.gtk | 5 ++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/common/makefile.gtk b/common/makefile.gtk index 08d7c4c565..9abef6217e 100644 --- a/common/makefile.gtk +++ b/common/makefile.gtk @@ -24,7 +24,11 @@ common.a: $(OBJECTS) makefile.gtk makefile.include install:common.a clean: - rm -f *.o; rm -f *~; rm core; rm *.bak; rm *.obj + rm -f *.o + rm -f *~ + rm -f core + rm -f *.bak + rm -f *.obj rm -f common.a diff --git a/cvpcb/makefile.gtk b/cvpcb/makefile.gtk index 19dad8bd5e..dbffd54cf2 100644 --- a/cvpcb/makefile.gtk +++ b/cvpcb/makefile.gtk @@ -35,6 +35,6 @@ install: $(TARGET) cp -f $(TARGET) $(KICAD_BIN) clean: - rm *.o - rm $(TARGET) + rm -f *.o + rm -f $(TARGET) diff --git a/eeschema/makefile.gtk b/eeschema/makefile.gtk index 690f0a5d38..eddd4d52c2 100644 --- a/eeschema/makefile.gtk +++ b/eeschema/makefile.gtk @@ -35,7 +35,10 @@ install: $(TARGET) clean: - rm -f *.o; rm -f *~; rm core; rm *.bak + rm -f *.o + rm -f *~ + rm -f core + rm -f *.bak rm -f $(TARGET)