I want to port my project to Linux so I need a Makefile file.
How can I make a Makefile file out of my VC project if it is even possible. Basically I want to keep the folder structure I have with VC so how can I do that?
Thanks.
How to make a Makefile file out of a VC project?
-
rogerborg
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Google reveals the usual collection of filthy hippies sneering that anyone with a modicum of XML and Perl/Python/Ruby/MyScriptIsLeeterThanYourScript could do it in 5 minutes, but curiously, none of them seem to get around to actually doing so.
This is the closest thing to an actual solution that I can find , and of course it's in written in C#, not one of the Hippy Languages.
Alternatively, you could learn XML and Perl/Python/Ruby/MyScriptIsLeeterThanYourScript and do it yourself in 5 minutes.
This is the closest thing to an actual solution that I can find , and of course it's in written in C#, not one of the Hippy Languages.
Alternatively, you could learn XML and Perl/Python/Ruby/MyScriptIsLeeterThanYourScript and do it yourself in 5 minutes.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Since you cannot reuse the compiler flags and linker options it basically boils down to adding the required source files into your Makefile. I'd suggest to take one of the example makefiles and exchange the filenames/adapt the paths. You can take example1, where the Makefile is already quite adaptable, or take the demo Makefile, which contains the code to compile all cpp files separately (and only when necessary).

