469,323 Members | 1,558 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,323 developers. It's quick & easy.

make to vcproj (or even nmake)

I'm trying to port a project from Linux to Windows. Currently on Linux
we're using GNU Make and... of course... makefiles.

Does anything exist out there to convert makefiles to vcproj files, or
even nmake makefiles in at least a semi-automatic nature?

I'm sure this gets asked a lot, but I can't seem to find an answer.

Thanks.

May 17 '07 #1
3 10301

<ch********@gmail.comwrote in message
news:11**********************@y80g2000hsf.googlegr oups.com...
I'm trying to port a project from Linux to Windows. Currently on Linux
we're using GNU Make and... of course... makefiles.

Does anything exist out there to convert makefiles to vcproj files, or
even nmake makefiles in at least a semi-automatic nature?
You could continue using GNU make. It won't be enough to set CC=cl and
LD=link, you'll actually need to write new rules, but should be pretty
straightforward.
>
I'm sure this gets asked a lot, but I can't seem to find an answer.

Thanks.

May 17 '07 #2
Thank you, but the link isn't working for me.

On May 17, 1:46 pm, "Ben Voigt" <r...@nospam.nospamwrote:
<chris.l...@gmail.comwrote in message

news:11**********************@y80g2000hsf.googlegr oups.com...
I'm trying to port a project from Linux to Windows. Currently on Linux
we're using GNU Make and... of course... makefiles.
Does anything exist out there to convert makefiles to vcproj files, or
even nmake makefiles in at least a semi-automatic nature?

You could continue using GNU make. It won't be enough to set CC=cl and
LD=link, you'll actually need to write new rules, but should be pretty
straightforward.
I'm sure this gets asked a lot, but I can't seem to find an answer.
Thanks.

May 17 '07 #3
In article <OW**************@TK2MSFTNGP05.phx.gbl>,
Ben Voigt <rb*@nospam.nospamwrote:
>I'm trying to port a project from Linux to Windows. Currently on Linux
we're using GNU Make and... of course... makefiles.
>Does anything exist out there to convert makefiles to vcproj files, or
even nmake makefiles in at least a semi-automatic nature?
>You could continue using GNU make. It won't be enough to set CC=cl and
LD=link, you'll actually need to write new rules, but should be pretty
straightforward.
For smaller things (maybe 30 files tops) that don't have any crazy
make rules, I've usually dumped all the .c/.cpp files into a new
Visual Studio project. That's usually a file or few too many, but it
works reasonably well. If you're willing to burn an hour or two with
a few compile runs, it works reasonably well.

Nathan Mates
--
<*Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
May 17 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Krakatioison | last post: by
3 posts views Thread by Skybuck Flying | last post: by
10 posts views Thread by RG | last post: by
6 posts views Thread by devoreband | last post: by
12 posts views Thread by Anil Gupte | last post: by
7 posts views Thread by Steve Bergman | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.