cygwin - Calling jam from Makefile does not work -


in makefile trying go different directory , invoke jam like:

jam-build:     cd <somedirectory> && jam <target> 

this did not work, caused "unknown target. please edit 'jamrules'." though exact same command on command line works perfectly. know jam can find target.

i tried

jam-build:     sh -c "cd <somedirectory> && jam <target>" 

and variations same results. works command line.

any other command instead of "jam " works expected (ls, ps, cat, pwd).

update: creating makefile in <somedirectory> , running make there gives same result.

any ideas why happens appreciated. and, of course, things try.

i'm running cygwin latest gnu make, ft-jam 2.5.2.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -