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.
docking
Sam Hocevar 8 years ago committed by omar
parent 6797ee4b68
commit 551932697d

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

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

Loading…
Cancel
Save