make files

This is a discussion on make files within the C++ Programming forums, part of the General Programming Boards category; I have a "make file" saved as a txt file. What do I rename it to and how do I ...

  1. #1
    Unregistered
    Guest

    make files

    I have a "make file" saved as a txt file. What do I rename it to and how do I run it please. Do I type "make" before compiling???? Confused.

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    129
    At least in gcc (DJGPP, etc):

    name: makefile
    type: make (in the same folder of course)
    kooma - t.h@iki.fi

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    108
    make makefile.txt

    Whatever statements are in the makefile.txt file will be executed (if you are running make in the directory where makefile.txt is located).
    Last edited by DarkStar; 03-15-2002 at 09:54 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Makefile producing a list of files.
    By leonm54 in forum Tech Board
    Replies: 1
    Last Post: 07-23-2007, 10:54 AM
  2. trying to make a KenGen ( for a game tool )
    By lonewolfy in forum C# Programming
    Replies: 4
    Last Post: 03-28-2007, 09:23 AM
  3. make variables visible on multiple files
    By jagerhans in forum C++ Programming
    Replies: 4
    Last Post: 08-28-2004, 07:32 PM
  4. "Cannot make pipe"
    By crepincdotcom in forum C Programming
    Replies: 5
    Last Post: 08-16-2004, 01:43 PM
  5. Help with Header/Make files
    By Unregistered in forum C Programming
    Replies: 0
    Last Post: 04-10-2002, 11:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21