Hello, and thanks for the answer (and sorry to reply so lately, had boiling milk ringing at the door ;)).
So, effectively, putting the makefile one directory up worked. Analysing your makefile made me found that (on my project) some library were missing.
So to compile an sdl2 C file by hand...