main.cpp and node.class

i want make them together using makefile is ther any one who knows it ?#
ObjectPath = ./lib/

#
# Header files
#
IncludeFiles = ./include/*.h

#
# Source Files
#
SourceFiles = ./src/

Project : s.class/
y6.cpp
/*i am not sure about above 2lines!*/

Rebuild : Clean Project

PSMain : $(IncludeFiles) $(SourceFiles)y6.cpp
g++ -Wall -g -I$(IncludePath) -o $(OutputFile) $(ObjectPath)*.o $(SourceFiles)y6.cpp -lm
Clean :
rm $(ObjectFiles)
rm $(OutputFile)