I am trying to create an executable and objects from makefile. Objects and sources are in different folder.
My tree is :
./obj
./src/main.cpp
Makefile
All i want is just to make objects in obj/ folder and to compile with these objects
That is what I got so far :
make: *** No rule to make target 'obj/src/main.o', needed by 'a.out'. Stop.