Makefile Additions
by Steve Bilton · in Torque Game Engine · 02/20/2008 (5:15 am) · 1 replies
I've had a poke around but can't seem to find an answer to this one.
I've made an array of changes, and they all compile merrily in VC++ but not in GCC3. I have added the following to the targets.torque.mk:
SOURCE.GA=\
ga/AIGA.cpp \
ga/GA1DArrayGenome.C \ # Yes, these are capitals in the file too.
ga/GA1DBinStrGenome.C \
ga/GA2DArrayGenome.C \
ga/GA2DBinStrGenome.C \
ga/GA3DArrayGenome.C \
...
SOURCE.ENGINE =\
$(SOURCE.GA) \
...
However, when compiling I get:
make: *** No rule to make target 'out.GCC3.DEBUG/ga/GA1DArrayGenome.obj', needed by 'out.GCC3.DEBUG/torqueDemo_DEBUG.bin'. Stop.
Do I need to add more to the makefile to get it to compile, or have I made an obvious error somewhere?
Cheers
I've made an array of changes, and they all compile merrily in VC++ but not in GCC3. I have added the following to the targets.torque.mk:
SOURCE.GA=\
ga/AIGA.cpp \
ga/GA1DArrayGenome.C \ # Yes, these are capitals in the file too.
ga/GA1DBinStrGenome.C \
ga/GA2DArrayGenome.C \
ga/GA2DBinStrGenome.C \
ga/GA3DArrayGenome.C \
...
SOURCE.ENGINE =\
$(SOURCE.GA) \
...
However, when compiling I get:
make: *** No rule to make target 'out.GCC3.DEBUG/ga/GA1DArrayGenome.obj', needed by 'out.GCC3.DEBUG/torqueDemo_DEBUG.bin'. Stop.
Do I need to add more to the makefile to get it to compile, or have I made an obvious error somewhere?
Cheers
About the author
Steve Bilton