Mail Archives: djgpp/1998/06/20/14:46:31
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 -