help-make
[Top][All Lists]
Advanced

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

RE: how to do recursive "subsystem" make properly?


From: Mark Galeck (CW)
Subject: RE: how to do recursive "subsystem" make properly?
Date: Tue, 3 Nov 2009 15:45:31 -0800

>All I need is for this example above, to work.  

OOPS sorry I made a mistake quoting that example.  The bottom makefile is 
wrong.  Let me try again:

Top makefile is


foobar: | subsystem
                echo making foobar
                touch foobar    
subsystem:
                make -C subdir


and subdir makefile is

foobaro:  foobarc
                touch foobaro
                echo making foobaro


Now all I want, is if I touch foobarc, then foobar gets remade.  Then if I 
don't touch foobarc, foobar does not get remade.  

But right now, with the above, foobar never gets remade.  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]