Add new *.cc files to the makefile
by Robert Norris · in Torque Game Engine · 08/30/2005 (12:07 am) · 3 replies
Hi,
i have no experience in working with makefiles, because i'm a windows and VC++ user (sorry for that ;) )... but i have a linux server and want to compile and run a dedicated server build of the SDK. This worked fine until i tried to add my own files.
I've edited the targets.torque.mk file in this way:
But i get this error, after i do a make clean, make dedicated call (my error message is in german, but i translated it as good as i can :) ):
mkdir: cannot create directory
i have no experience in working with makefiles, because i'm a windows and VC++ user (sorry for that ;) )... but i have a linux server and want to compile and run a dedicated server build of the SDK. This worked fine until i tried to add my own files.
I've edited the targets.torque.mk file in this way:
... [b]SOURCE.PROJECT.ROLLER=\ project/roller/droid.cc[/b] SOURCE.ENGINE =\ $(SOURCE.COLLISION) \ $(SOURCE.CONSOLE) \ $(SOURCE.CORE) \ $(SOURCE.DGL) \ $(SOURCE.INTERIOR) \ $(SOURCE.MATH) \ $(SOURCE.PLATFORM) \ $(SOURCE.SCENEGRAPH) \ $(SOURCE.SIM) \ $(SOURCE.TERRAIN) \ $(SOURCE.TS) \ $(SOURCE.AUDIO) \ $(SOURCE.GUI) \ $(SOURCE.GAME) \ $(SOURCE.GAME.FPS) \ $(SOURCE.GAME.NET) \ $(SOURCE.GAME.FX) \ $(SOURCE.GAME.VEHICLES) \ [b]$(SOURCE.PROJECT.ROLLER)[/b] ... SOURCE.TESTAPP =\ $(SOURCE.AUDIO) \ $(SOURCE.COLLISION) \ $(SOURCE.CONSOLE) \ $(SOURCE.CORE) \ $(SOURCE.DGL) \ $(SOURCE.EDITOR) \ $(SOURCE.GUI) \ $(SOURCE.GAME) \ $(SOURCE.GAME.FPS) \ $(SOURCE.GAME.NET) \ $(SOURCE.GAME.FX) \ $(SOURCE.GAME.VEHICLES) \ $(SOURCE.INTERIOR) \ $(SOURCE.MATH) \ $(SOURCE.PLATFORM) \ $(SOURCE.SCENEGRAPH) \ $(SOURCE.SIM) \ $(SOURCE.TERRAIN) \ $(SOURCE.TS) \ [b]$(SOURCE.PROJECT.ROLLER)[/b] ...
But i get this error, after i do a make clean, make dedicated call (my error message is in german, but i translated it as good as i can :) ):
mkdir: cannot create directory
About the author
#3
Sending this in a patch along with several other platformX86UNIX fixes to BenG
-Ron
08/30/2005 (5:02 am)
Yup, X marks the spot ;)Sending this in a patch along with several other platformX86UNIX fixes to BenG
-Ron
Torque 3D Owner Xavier "eXoDuS" Amado
Default Studio Name