[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make, Makefile & includes



Iftach Hyams <paraduma@elbit.co.il> writes:

> When having Makefile with many includes,even nested, I would like
> to create a 'flat' Makefile - is it possible ? Can GNU make do that
> ?

make -qpR -f foo.mk

will probably give you more info than you really want, since it dimps
environment and automatic variables, but you can start from here.

> Is there any other way to 'debug' a Makefile ?

make -nd?

-- 
Oleg Goldshmidt | ogoldshmidt@NOSPAM.computer.org 
"If it ain't broken, it has not got enough features yet."

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il