On 13.03.12 16:09, Kirk Wallace wrote: > Since none of the source files ever changed, none of the "#ifdef > RTS_ENABLE"'s got done.
Kirk, that's pretty much the only reason for using make - to speed up software builds which take too long if everything is done, even if only one file has been changed. Otherwise an unintelligent script suffices. If the source is kept in ./src/ , and the object files in ./obj $ touch src/* will cause make to believe that all source files have changed, forcing it to recompile everything. Alternatively, a small avr project may well compile quickly enough that a makefile isn't warranted, and a simple bash script containing the commands to compile and link everything is then sufficient. (In my enthusiasm for getting to the code hacking, I haven't stopped to write a makefile for the two lex and bison sourcefiles for the gcode translator I'm fiddling with¹, so lex, bison, and the compiler are all run even if nothing has changed.) Erik ¹ The last 10 days, out on the farm, have mostly produced only doco, admittedly. (Apart from cleared roads and firewood, that is.) -- The whole aim of practical politics is to keep the populace alarmed (and hence clamorous to be led to safety) by an endless series of hobgoblins. - H.L. Mencken ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users