Hello
I have a problem.
My makefile is:
----------------
depend : main.c
$(CC) -M $(CPPFLAGS) $^ > $@
include depend
------------------
I type in command line:
>>make -f myMakefile
cc -M main.c > depend
make: 'depend' is up to date.
I assumed that above make produce main.o, but it did. why?
If I now the include directive add the dependencies of main.c to make file
and
according to implicit rule( %.o : %.c ) make must produce main.o. I am
right?
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make