What's the possible reason that makefile would skip making one executable? -


i try execute exact same compilation command skipped file , being correctly compiled. when put in make file skipped. every other file generated.

without seeing makefile (which haven't provided), can guess (though i'd think it's educated guess).

since make works checking file timestamps see if need rebuilding, that's 1 thing at. if timestamp of target later of dependencies, target won't built.

the other ensure top level rule has dependency on you're trying build, somewhere in hierarchy. mean ruleset:

all: xyzzy  xyzzy:     touch xyzzy  plugh:     touch plugh 

with command make all never touch plugh because it's not in dependency hierarchy off all.

and make provides command line options debugging (like -d flag in gnu make) tell why it's making decisions it's making. if want understand what's happening, should use them,a s makes easier debug makefile.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -