Currently i can compile it OK, but the method is very messy. For example: i have to access my image files as"data/resources/images/waver.png", preceeded with "data", when the cpp file that calls that image is in data. So it makes it confusing. Or in my makefile i have to access all the cpp files preceeded with data as well. SOURCES=data/main.cpp data/Control.cpp data/Character.cpp data/texture_manager.cpp
as opposed to: SOURCES=main.cpp Control.cpp Character.cpp texture_manager.cpp
Is there a way i can change directory into the data file from my makefile so the starting point is within data/?
This fixes this issue apparently, but the path to the image files still need to preceed with "data". Is there another method that will also help with this?