On Tue, 2010-06-01 at 19:54 +0900, Aditya Kher wrote:
> libA_ref_model.so: ; ${MAKE} --dir=A libA_ref_model.so
This rule has no prerequisites, so it will be only ever be run if the
target doesn't exist. That's obviously not what you want.
Instead you need to force this rule to be always run. You can try
something like this:
libA_ref_model.so: FORCE
$(MAKE) --dir=A $@
FORCE: ;
--
-------------------------------------------------------------------------------
Paul D. Smith <[email protected]> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make