www.digitalmars.com         C & C++   DMDScript  

c++.command-line - makedep question

reply "=?iso-8859-1?Q?Robert_M._M=FCnch?=" <robert.muench robertmuench.de> writes:
Hi, why does makedep include header files in the output?

	e4id.obj : e4id.cpp e4graphimpl.h e4graph.h
	e4node.obj : e4node.cpp e4graphimpl.h e4graph.h

Which gives:
	Error: don't know how to make 'e4graph.h'

Am I missing something?

-- 
Robert M. Münch
Management & IT Freelancer
http://www.robertmuench.de
Dec 16 2004
parent Arjan Knepper <arjan ask.me> writes:
Robert M. Münch wrote:
 Hi, why does makedep include header files in the output?
 
     e4id.obj : e4id.cpp e4graphimpl.h e4graph.h
     e4node.obj : e4node.cpp e4graphimpl.h e4graph.h
 
 Which gives:
     Error: don't know how to make 'e4graph.h'
 
 Am I missing something?
 
Don't know you mis something ;-) makedep generates a file containing lines describing the dependecies for translation units. So when you modify e4graph.h the line indicates e4id.obj should be rebuilded. Arjan
Dec 17 2004