I have attached a zip folder of my project (it's a simple one).
I have a main.c file, which is attempting to read data from a temperature sensor, and output it via the USART. The USART works great and all, but today I tried hooking up the sensor (DHT-11) which I tested with an Arduino. My MCU is the ATMega8. So I downloaded the library files for my MCU to interface with the sensor. It came with DHT.c and DHT.h.
I have included in the zip folder the makefile (which I suspect to be the problem), DHT.h, DHT.c, and main.c.
The problem I am getting is when I run the makefile, I get:
main.c:22: undefined reference to `DHT_Read_Data' make: *** [main.elf] Error 1
I would really appreciate your time and help! Please let me know if more info is required. Many thanks.