Hi,
um zusätzliche C-Files zu "includen" ändert man einfach das Makefile. In einer Header Datei sollten dann lediglich die Funktionsprototypen stehen, damit der Compiler beim Übersetzen nicht meckert.
Beim Asuro Selfest wird das z.B. so gemacht. Guck mal in das entsprechende Makefile.
Code:
# If there is more than one source file, append them above, or adjust and
# uncomment the following:
SRC += asuro.c \
Test.c SelfTest.c \
Demo.c LineDemo.c IRDemo.c
# You can also wrap lines by appending a backslash to the end of the line:
#SRC += baz.c \
#xyzzy.c
Lesezeichen