On Martes 07 Diciembre 2010 05:43:27 ali hagigat escribió:
> Does the following makefile suffice to resolve the problem of adding
> rules to show the dependency of main.c and its header files?
> 
> -include main.d
> main.o: main.c
>      gcc -MD -o main.o main.c
> 


No. Try it and you will see why.

_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to