I am going through an eg pgm to create a make file.
http://mrbook.org/tutorials/make/
My folder eg_make_creation contains the following files,
Make is behaving correctly. hello already exists and is not older than the .c files, and therefore there is no more work to be done. There are four scenarios in which make will need to (re)build:
.c files, then it will be newer than hello, and then it will have to rebuild when you run make.hello, then it will obviously have to rebuild it-B option. make -B allmake clean all will delete hello and require a rebuild. (I suggest you look at @Mat's comment about rm -f *.o hello