Ensure make clean is idempotent.

Prior to this, `make clean` would fail if the project was not already
fully built, and a second invokation would always fail.
This commit is contained in:
Sam Hocevar 2016-10-22 13:02:58 +02:00 committed by omar
parent 6797ee4b68
commit 551932697d
2 changed files with 2 additions and 2 deletions

View File

@ -61,5 +61,5 @@ $(EXE): $(OBJS)
$(CXX) -o $(EXE) $(OBJS) $(CXXFLAGS) $(LIBS)
clean:
rm $(EXE) $(OBJS)
rm -f $(EXE) $(OBJS)

View File

@ -62,4 +62,4 @@ $(EXE): $(OBJS)
$(CXX) -o $(EXE) $(OBJS) $(CXXFLAGS) $(LIBS)
clean:
rm $(EXE) $(OBJS)
rm -f $(EXE) $(OBJS)