Problems compiling code

I am trying to compile some code and getting lot of errors

g++ -traditional -Wno-non-template-friend -Wno-deprecated -O3 -DNDEBUG -DREAL=float -DGetREAL=Getfloat -IbaseLib -Itommy -Iothers ./source/main/RayTrac.cc -o raytrac
./source/main/RayTrac.cc:36:20: error: gendef.h: No such file or directory
./source/main/RayTrac.cc:37:21: error: verbose.h: No such file or directory
./source/main/RayTrac.cc:38:20: error: dynstr.h: No such file or directory
./source/main/RayTrac.cc:39:21: error: Parsing.h: No such file or directory
In file included from ./source/main/RayTrac.cc:40:
./source/main/velmod.h:259:18: error: vect.h: No such file or directory
In file included from ./source/main/velmod.h:260,
                 from ./source/main/RayTrac.cc:40:
./source/main/layer.h:208:21: error: sstring.h: No such file or directory
In file included from ./source/main/layer.h:210,
                 from ./source/main/velmod.h:260,
                 from ./source/main/RayTrac.cc:40:
./source/main/linlay.h:133:20: error: interp.h: No such file or directory
In file included from ./source/main/linlay.h:134,
                 from ./source/main/layer.h:210,
                 from ./source/main/velmod.h:260,
                 from ./source/main/RayTrac.cc:40:
./source/main/layint.h:100:20: error: random.h: No such file or directory
In file included from ./source/main/linlay.h:135,
                 from ./source/main/layer.h:210,
                 from ./source/main/velmod.h:260,
                 from ./source/main/RayTrac.cc:40:
./source/main/laymod.h:119:20: error: matrix.h: No such file or directory
./source/main/layint.h:123: error: expected �,' or �...' before �<' token
./source/main/layint.h:123: error: ISO C++ forbids declaration of �Vector' with no type
./source/main/layint.h:131: error: �Vector' has not been declared
./source/main/layint.h:131: error: expected �,' or �...' before �<' token
./source/main/layint.h:135: error: �Vector' has not been declared
./source/main/layint.h:135: error: expected �,' or �...' before �<' token
./source/main/layint.h:141: error: �Parsing' has not been declared
./source/main/layint.h:153: error: �Vect2' does not name a type
./source/main/layint.h:155: error: �Vect2' does not name a type
./source/main/layint.h:157: error: ISO C++ forbids declaration of �Vector' with no type
./source/main/layint.h:157: error: expected �;' before �<' token
./source/main/layint.h:159: error: ISO C++ forbids declaration of �Vector' with no type
./source/main/layint.h:159: error: expected �;' before �<' token
./source/main/layint.h:162: error: �Parsing' has not been declared
./source/main/layint.h:180: error: variable or field �ReadInterface' declared void
./source/main/layint.h:180: error: �int LayInt::ReadInterface' is not a static member of �class LayInt'
./source/main/layint.h:180: error: �Parsing' was not declared in this scope
./source/main/layint.h:180: error: �P' was not declared in this scope
./source/main/layint.h:181: error: expected primary-expression before �const'
./source/main/layint.h:181: error: initializer expression list treated as compound expression
./source/main/layint.h:181: error: expected �,' or �;' before �{' token
make: *** [raytrac] Error 1

---------- Post updated at 06:20 PM ---------- Previous update was at 06:19 PM ----------

This is the makefile

#
#  TOMMY - Makefile

#  -History---------------------------------------------------------------
#
#  V01 - DEC 1999 - Luca D'Auria
#        Initial release.
#  V02 - SEP 2008 - Luca Elia
#        Version fixed for g++ 4.3.0.
#        The following settings make it compile without warnings using:
#           g++ (GCC) 3.4.5 (mingw-vista special r3)
#           g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
#           g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
#           g++ (GCC) 4.3.0 20080305 (alpha-testing) mingw-20080502
#        The -enable-auto-import bit is needed on some newer gcc version.
#        Enable optimizations and disable debug checks so that the final
#        executable can run faster (up to twice as fast).
#  V03 - NOV 2008 - Christopher Dimech
#        Code restructuring.
#
#  -----------------------------------------------------------------------

# GNU Compiler flags

C++ = g++
OPT = -traditional -Wno-non-template-friend -Wno-deprecated -O3 -DNDEBUG
DEF = -DREAL=float -DGetREAL=Getfloat

# OPT = -traditional -Wno-non-template-friend -Wno-deprecated -O3 -DNDEBUG
#       -enable-auto-import

# DEF = -DREAL=double -DGetREAL=Getdouble

# Directories

B = ./source/baseLib
T = ./source/main
O = ./source/others
IDIR = -IbaseLib -Itommy -Iothers

all : raytrac tdarwin tsimplex getvel getpdf getmisf tracepdf

# TOMMY files

raytrac : $(T)/RayTrac.cc baselib tommylib
    $(C++) $(OPT) $(DEF) $(IDIR) $(T)/RayTrac.cc -o raytrac
    -mv raytrac ./bin

tdarwin : $(T)/Tdarwin.cc baselib tommylib
    $(C++) $(OPT) $(DEF) $(IDIR) $(T)/Tdarwin.cc -o tdarwin
    -mv tdarwin ./bin

tsimplex : $(T)/Tsimplex.cc baselib tommylib
    $(C++) $(OPT) $(DEF) $(IDIR) $(T)/Tsimplex.cc -o tsimplex
    -mv tsimplex ./bin

getvel : $(T)/Getvel.cc baselib tommylib
    $(C++) $(OPT) $(DEF) $(IDIR) $(T)/Getvel.cc -o getvel
    -mv getvel ./bin

getpdf : $(T)/GetPDF.cc baselib tommylib
    $(C++) $(OPT) $(DEF) $(IDIR) $(T)/GetPDF.cc -o getpdf
    -mv getpdf ./bin

getmisf : $(T)/Getmisf.cc baselib tommylib
    $(C++) $(OPT) $(DEF) $(IDIR) $(T)/Getmisf.cc -o getmisf
    -mv getmisf ./bin

rdt : $(T)/Rdt.cc
    $(C++) $(OPT) $(DEF) $(IDIR) $(T)/Rdt.cc -o rdt
    -mv rdt ./bin

tracepdf : $(T)/TracePDF.cc baselib tommylib
    $(C++) $(OPT) $(DEF) $(IDIR) $(T)/TracePDF.cc -o tracepdf
    -mv tracepdf ./bin

# Libraries

baselib : $(B)/vect.h $(B)/vector.h $(B)/matrix.h $(B)/dynstr.h $(B)/sstring.h

tommylib : $(T)/layer.h $(T)/linlay.h $(T)/velmod.h

##########################################################################

Well, it can't find tons of include files.

I note the include files are -IbaseLib while the file paths are ./source/baseLib. I wonder if the include paths need ./source/ too?

If not, you'll need to find out where those include files are and add them to IDIR