fix clean targets in makefile so they don't fail if already clean

This commit is contained in:
raburton 2007-06-05 16:50:50 +00:00
parent 1e66c5a6d8
commit 617418b4c7
3 changed files with 11 additions and 4 deletions

View File

@ -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

View File

@ -35,6 +35,6 @@ install: $(TARGET)
cp -f $(TARGET) $(KICAD_BIN)
clean:
rm *.o
rm $(TARGET)
rm -f *.o
rm -f $(TARGET)

View File

@ -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)