Fixed clean metatargets.
commit501d7f83c788923ec04327decca4880a2fe79733
authormazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 27 Oct 2013 12:21:34 +0000 (27 12:21 +0000)
committermazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 27 Oct 2013 12:21:34 +0000 (27 12:21 +0000)
treeaa60970d255b87fe38ba40464a46e0170e1548d0
parent310b50114e0694fb448c2c54fa64cd26dc29ac32
Fixed clean metatargets.

1) build_linklib didn't delete the linklib.

2) fixed double-colon metatargets. I had a test case
with both a linklib and a program. An attempt to clean
the linklib cleaned the program, i.e. the effect was as
if the double-colon target was at the end of the
Makefile.
Alltough the "make" manual states: "When a target appears
in multiple rules, all the rules must be the same type:
all ordinary, or all double-colon.", using a combination
of an ordinary and a double-colon seems to be the right
workaround.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48339 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
config/make.tmpl