GSLLIBS = -L/usr/local/lib -lgsl -lgslcblas GSLINCS = -I/usr/local/include # space seperated list of source files in program SOURCES = bessel.cpp # change testProgram.exe to the name you wish your # executable program to be bessel: $(SOURCES) g++ -o $@ $(GSLINCS) $(GSLLIBS) $(SOURCES)