Thank you Paul! Everything's working fine now.
Paul Smith-20 wrote: > > On Sat, 2009-10-31 at 11:23 -0700, RobinK wrote: >> foo: >> $(MAKE) $(MAKEFLAGS) >> >> >> Yeah, that's exactly what I did. So what's the correct syntax? What I >> need >> is, if I pass any parameters to the top level makefile, those params >> should >> be passed to subdirectory level makefile. > > Make already does that. That's what MAKEFLAGS are for... and make > handles it for you. > > Just run: > > foo: > $(MAKE) > > and you're done. Just be SURE to use the variable $(MAKE), not the > static string "make". > > -- > ------------------------------------------------------------------------------- > 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 > > -- View this message in context: http://old.nabble.com/gmake--C-mess-up-MAKEFLAGS--tp26142228p26147647.html Sent from the Gnu - Make - Help mailing list archive at Nabble.com. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
