|
-
Aug 3rd, 2002, 12:46 PM
#1
Thread Starter
Registered User
Help me please
How to use 'makefile' in Visual C++ 6.0
-
Aug 3rd, 2002, 01:41 PM
#2
PowerPoster
(1) read the "how to get your questions answered" at the top of this thread. "Help me please" is not a description of a problem.
(2) you are in the wrong forum. This is the VB forum. You want the C/C++ forum.
-
Aug 3rd, 2002, 01:44 PM
#3
PowerPoster
hm ... OK this is NOT the vb forum ... somehow a search results shifted me over to another forum ... sorry.
-
Aug 3rd, 2002, 02:10 PM
#4
Stuck in the 80s
Originally posted by phinds
(1) read the "how to get your questions answered" at the top of this thread. "Help me please" is not a description of a problem.
(2) you are in the wrong forum. This is the VB forum. You want the C/C++ forum.
Great way to greet new members and make them feel welcome.
-
Aug 3rd, 2002, 02:26 PM
#5
Monday Morning Lunatic
Toubou - do you mean using Makefiles in general, or how to use one with VC?
If the former, do a search for GNU make and you'll get the manual 
If the latter, go to a command prompt, run the vcvars32.bat file, then move to the directory containing the Makefile and run "nmake" -- that should build it all
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 3rd, 2002, 02:50 PM
#6
PowerPoster
I have never used makefiles on Windows but on Linux, you can use "make" to compile your source code using a makefile.
An example (using gcc [g++]):
myprogram : source.c
g++ source.c -o myprogram
Save it as something like "mymake" and then go to your directly where you saved it. Now type this:
Ofcourse there's a lot a lot more to a Makefile. You can even compile a large pile of source codes into one with a very little code (using your own rules). Try pscode.com or search google for a tutorial on making Makefiles.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|