SyntaxFix
Write A Post
Hire A Developer
Questions
In makefile language $@ means "name of the target", so rm -f $@ translates to rm -f clean.
$@
rm -f $@
rm -f clean
You need to specify to rm what exactly you want to delete, like rm -f *.o code1 code2
rm
rm -f *.o code1 code2