I want to show weather data on my Waveshare e-Paper display using an Raspberry Zero. Controlling the display works fine with the provided library. On the other hand I'm loading the weather data with a PHP script from a database. For this I'm using a HTTP-Post request with the CURL library. This works also fine. Now I want to combine both "projects", so I included "curl/curl.h" to the exemplary Waveshare project but I get a "undefined reference error". I know that some how a link to the CURL library is missing in the Makefile, but I never worked with Makefiles before. Currently I'm using the Makefile provided in the Waveshare library (https://github.com/waveshare/e-Paper/blob/master/RaspberryPi_JetsonNano/c/Makefile).
I would be really happy for any support. I already tried hints from here (How to use external libraries and headers in C Makefile?), but I don't know how to adjust this for my makefile...
Thanks in advance Andy