Results 1 to 6 of 6

Thread: Help me please

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jul 2002
    Posts
    33

    Unhappy Help me please

    How to use 'makefile' in Visual C++ 6.0

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    (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.

  3. #3
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    hm ... OK this is NOT the vb forum ... somehow a search results shifted me over to another forum ... sorry.

  4. #4
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    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.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  6. #6
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    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:

    make -n mymake
    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.
    Baaaaaaaaah

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width