[En-Nut-Discussion] Hoe to add dependency on included files?

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Dec 12 13:55:06 CET 2011


working with the devnit_m3n tree, please forgive if already fixed in


includes e.g.
#elif defined(__arm__) && defined(__CORTEX__)
#include "../arch/cm3/os/nutinit_cm3.c"

Changing "../arch/cm3/os/nutinit_cm3.c" and running "make" in the build tree
doesn't rebuild nutinit.o. I workaround by deleting os/nutinit.o and

Is there an easy way to add the included files to the dependancy? Or, as
there is no code in nut/os/nutinit.c, but only includes, could we drop this
wrapper file and use the included files direct?


Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list