Makefile

i have a problem with makefile… when i type make on terminal where my Makefile is stored.
This error occurs
ella@ella-U36SD:~/CCPP/MLP/2ProcessRawData$ make
g++ -g -Wall -Wno-deprecated -L/usr/lib/i386-linux-gnu -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic ProcessRawData.o ProcessRawData_Main.o -o ProcessRawData
/usr/bin/ld: cannot find -lGraf3d
/usr/bin/ld: cannot find -lPostscript
/usr/bin/ld: cannot find -lPhysics
collect2: error: ld returned 1 exit status
make: *** [ProcessRawData] Error 1
ella@ella-U36SD:~/CCPP/MLP/2ProcessRawData$

thanks,
ella

Hi Ella,

you need to point gcc to the directory where the root libraries are stored with the -L switch: "-L my/path/to/root/lib/"
Alternatively, just add to the commandline root-config --libs --cflags (note the reverse quotes). This command will output the right compiler switches.
Cheers,
Danilo