Gast
#1393994
Habe ein Problem: ich steige durch die Header-Files und includes nicht durch! http://www.mikrocontroller.net/articles/Include-Files_(C) So siehts aus: main.h (defines, vars) main.c (include: main.h, lib.h, stdint.h & etc) daten.h (1 var) lib.h (prototypen und defines) lib.c (include: daten.h, lib.h, main.h, stdint.h & etc. lib_function(), ) Makefile: SRC = $(TARGET).c SRC += lib.c Der Fehler main.c: undefined reference to 'lib_function' Verstehe ich nicht, ist doch in lib.h per prototyp bekanntgemacht..?