projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove commentary that is now in the wiki
[ghc-hetmet.git]
/
rules
/
clean-target.mk
1
2
define clean-target # args: $1 = dir, $2 = key, $3 = files/dirs to clean
3
clean : clean_$1
4
.PHONY: clean_$1
5
clean_$1 : clean_$1_$2
6
.PHONY: clean_$1_$2
7
clean_$1_$2:
8
$(RM) -rf $3
9
endef