c preprocessor - Why doesn't changing a macro (#define) in a header file require a new build? -


i'm new c , discovered interesting. changed value of simple macro #defined in header file

#define mrb 1000 

to

#define mrb 100 

and when ran make again, said there no changes ("nothing done 'all'"). how macros work such don't need part of build?

this has lot more how make works how macros work. if doesn't require rebuild, have specified dependencies incorrectly. read on makedepend.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -