Graham H. answered 03/02/25
Long-time Linux and InfoSec Professional
1) False
- A phony target is not ignored in a similar way to a comment. A phony target is not the name of a file and will always be executed. This makes it handy for 'release' or 'clean' rules.
2) True
- You can run make without Makefile under certain conditions and based on the implicit rules on your system. As in your example if you have 'main.c' in your CWD and run `make main` you might wind up with make running `cc main.c -o main`. You can run `make -d` to get a good look at most, or maybe all, of the implicit rules for your machine.
3) False
- I'm not sure I understand the question but the '@' character simply suppresses echoing of a command on the output, thus `@mv *.c backup` would silently move all C files to the 'backup' directory.