Skip to content

Commit

Permalink
Ensure make clean is idempotent.
Browse files Browse the repository at this point in the history
Prior to this, `make clean` would fail if the project was not already
fully built, and a second invokation would always fail.
  • Loading branch information
samhocevar authored and ocornut committed Mar 1, 2018
1 parent 6797ee4 commit 5519326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/opengl2_example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ $(EXE): $(OBJS)
$(CXX) -o $(EXE) $(OBJS) $(CXXFLAGS) $(LIBS)

clean:
rm $(EXE) $(OBJS)
rm -f $(EXE) $(OBJS)

2 changes: 1 addition & 1 deletion examples/opengl3_example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ $(EXE): $(OBJS)
$(CXX) -o $(EXE) $(OBJS) $(CXXFLAGS) $(LIBS)

clean:
rm $(EXE) $(OBJS)
rm -f $(EXE) $(OBJS)

0 comments on commit 5519326

Please sign in to comment.