Hi, I have a simple MakeFile that contains this in it:
clean:
rm -f ex1
but when I run the command make clean, I get the following error:
make: *** No rule to make target `clean'. Stop.
I'm not sure what I'm doing wrong, its only 2 lines and the second line starts with TAB not Spaces. Does anyone have an idea? I am on Mac OS X 10.9.2
and I'm actually trying to learn c and follow this guide: http://c.learncodethehardway.org/book/ex2.html
source
share