Skip to content

Commit

Permalink
Global C makefiles now remove the compiled object
Browse files Browse the repository at this point in the history
It now recursively calls make clean in the directories.
Fixes #14.
  • Loading branch information
tomdeakin committed Jul 26, 2013
1 parent b3e4138 commit 518e87b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Exercises/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ $(CEXES):

.PHONY : clean
clean:
rm -f $(CEXES)
rm -rf *.o
for e in $(CEXES); do $(MAKE) -C `dirname $$e` clean; done
3 changes: 1 addition & 2 deletions Solutions/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ $(CEXES):

.PHONY : clean
clean:
rm -f $(CEXES)
rm -rf *.o
for e in $(CEXES); do $(MAKE) -C `dirname $$e` clean; done

0 comments on commit 518e87b

Please sign in to comment.