Valhalla Legends Forums Archive | C/C++ Programming | Makefile

AuthorMessageTime
Krush
Ok this might sound dumb but how do I compile source using a makefile with .net ?
January 15, 2005, 9:03 AM
Kp
Perhaps you should explain a bit more.  Makefiles describe how to build something natively, so there's really no need to use any network (or Microsoft's stupidly named .NET code) to build it.  Just run make (or gmake if you want to be certain you get a GNU form, which I highly recommend -- BSD makes tend to be somewhat braindamaged in my experience).
January 15, 2005, 7:20 PM
Krush
[quote author=Kp link=topic=10197.msg95330#msg95330 date=1105816841]
Perhaps you should explain a bit more.  Makefiles describe how to build something natively, so there's really no need to use any network (or Microsoft's stupidly named .NET code) to build it.  Just run make (or gmake if you want to be certain you get a GNU form, which I highly recommend -- BSD makes tend to be somewhat braindamaged in my experience).
[/quote]

Well at school I can do make from the command line but I think i didn't install something at home cause make is unknown
January 15, 2005, 10:10 PM
Myndfyr
I do not believe that VS .NET supports makefiles, with C++ or any of the native .NET languages.
January 15, 2005, 10:42 PM
Kp
[quote author=Krush[LM] link=topic=10197.msg95349#msg95349 date=1105827009]Well at school I can do make from the command line but I think i didn't install something at home cause make is unknown[/quote]

I'm going to assume that you're using Windows at home, since you mentioned ".net".  If so, you need to install make -- Windows doesn't come with one natively (primarily because make is useful).  Check out http://www.mingw.org/ for a Win32 port of GNU make.
January 15, 2005, 11:08 PM
Zakath
VC++ does have command line tools that can be used in a similar fashion to a makefile by executing them from a batch file...
January 16, 2005, 8:33 AM
Krush
[quote author=Kp link=topic=10197.msg95353#msg95353 date=1105830539]
[quote author=Krush[LM] link=topic=10197.msg95349#msg95349 date=1105827009]Well at school I can do make from the command line but I think i didn't install something at home cause make is unknown[/quote]

I'm going to assume that you're using Windows at home, since you mentioned ".net".  If so, you need to install make -- Windows doesn't come with one natively (primarily because make is useful).  Check out http://www.mingw.org/ for a Win32 port of GNU make.
[/quote]

i installed that but i can't find where i have to do something to get make to work
January 18, 2005, 1:48 AM

Search