www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/20/14:46:31

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ok maybe its my inexperiance but,
Date: Sat, 20 Jun 1998 14:34:11 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 38
Message-ID: <358C00A3.BF561E5A@cs.com>
References: <1998062011240200 DOT HAA29685 AT ladder01 DOT news DOT aol DOT com>
NNTP-Posting-Host: ppp120.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

SRotherSN wrote:
> 
> I seem to be havin trouble with MAKEFILES...
> 
> they don't wanna compile..now I tried speaking nice to them but still no avail.
> 
> What might be the command other than
> 
> MAKEFILE
> 
> or doing each and every file with gcc just as if the MAKEFILE would..?

Makefiles are just scripts.  You use the tool 'make.exe' to run them;
DJGPP comes with a port of GNU Make (v2gnu/mak3761b.zip).  Once you
install Make, simply type "make" to run the makefile, or you can specify
the particular one to use with the '-f' parameter; i.e., "make -f
makefile.dj2" which is used by many programs.

It's certainly possible to run each step of the makefile manually, but
that defeats the point of having one in the first place.

You may run into trouble if the makefile that you're using was not
designed for GNU Make or for a DOS environment.  Giving general advice
on this topic is difficult, but you can obtain many of the Unixy
commands like 'sed', 'rm', 'cp', etc., in DJGPP packages such as
Fileutils (v2gnu/fil316b.zip), or as standalone packages.

There is additional information about using GNU Make in the DJGPP FAQ.

hth!

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | History has the relation to truth    |
|       aka Fighteer I       | that theology has to religion--i.e., |
|   mailto:fighteer AT cs DOT com   | none to speak of.                    |
| http://www.cs.com/fighteer |                    -Lazarus Long     |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019