[LLVMdev] Broken makefile dependencies?

Chris Lattner clattner at apple.com
Tue Dec 18 00:09:34 PST 2007


I am seeing a very strange situation where doing:

   make -C dir all

does not rebuild anything in dir, even though stuff is stale.  This  
command is what the recursive makefile uses to walk the directory  
structure.

The really strange thing is that:

   cd dir; make all

does rebuild stuff.

Does anyone have any idea what is going on here?  I thought they were  
identical.

-Chris



More information about the llvm-dev mailing list