[En-Nut-Discussion] Hoe to add dependency on included files?
Ulrich Prinz
ulrich.prinz at googlemail.com
Sat Dec 17 13:13:08 CET 2011
Hi!
Already thought about that problem. We could include the correct files
in the .nut control files. And then they might be cleand correctly. On
the other hand I donÄt understand why they are not cleand correctly as
they should be.
The make generates the nutinit.o where the nutinit.c resides. So make
clean should delete it there too except the clean sequence is not
correctly implemented in the Makefile.
The benefit of the c file including c files is that you have a central
station where you can see what is done. The problem is, that these
constructions are most time very ugly and may confuse editors.
I can live with both options but would prefer another one that might be
most descriptive:
The .nut file should set the right nutinit_ARCH.c for building and
that's it.
More information about the En-Nut-Discussion
mailing list