Makefile doesn't use variables

I am refactoring my personal libc and I need to redo my makefile. So far so good, But suddenly, the variables aren't included in the commands executed.

Here's the trouble so far:

➜  libft git:(master) ✗ make
clang    -c -o srcs/core/ft_add_to_array.o srcs/core/ft_add_to_array.c
srcs/core/ft_add_to_array.c:13:10: fatal error: 'core/core.h' file not found #include <core/core.h>
1 error generated.
<builtin>: recipe for target 'srcs/core/ft_add_to_array.o' failed
make: *** [srcs/core/ft_add_to_array.o] Error 1

Which i suppose come from this line of my makefile :

      $(CC) $(FLAGS) $(INC) -o $@ -c $<

So what i've come up so far is that the FLAGS and INC variables are simply not included... Any ideas why ?

1 answer