Since I am using IDE instead of GNU writing codes, I am having a hard time reading those documents about Makefile, so far I couldn't find any documents states clearly where to put $BOOST_HOME. (I am using Boost Library for my project so it needs to compile with it)
so far I am compiling the program with this command:
g++ -Wall -std=c++11 -o ladder Source1.cpp -I/home/s/suw/boost_1_65_1
since this will be compile in other's computer so the path of boost library will be different thus I need to put $BOOST_HOME into Makefile, any help would be appreciated.
EDIT: So I think I need to set $BOOST_HOME a path and put it into makefile, but path is varies by different user, how to let somebody run my program by just using a simple:
g++ *.cpp -o foo
???