Article View: comp.lang.modula2
Article #3513Re: Orphaned Response - (nf)
From: ao
Date: Fri, 07 Nov 1986 10:40
Date: Fri, 07 Nov 1986 10:40
33 lines
1677 bytes
1677 bytes
/***** coma:net.lang.mod2 / hslrswi!paul / 5:08 pm Nov 3, 1986*/
> The Cambridge University (UK) 4.2bsd Vax/68000 Modula-2 system has an
> automatic makefile generator - m2make(1) - which depends on the module
> lookup mechanism used by the compiler/linker/debugger.
We use Version V171/VAX11:185 of the compiler.
> This is implemented
> by means of a simple environment variable M2PATH and searches successive
> directories for source files (.{def,mod}) and hidden sub-directories of
> ^^^^^^^^^^^^^^^^^^^^^^
> successive directories (.{lnk,sym,ref,key}/module) for compiler output
> files.
>
If m2make is called in a directory without hidden sub-directories,
it generates a makefile containing syntax erros.
The subsequent make fails.
e.g.
mkdir test
cd test
vi test.mod
m2make test
make <- syntax error
Is is not always obvious, that you missed to give the m2hdir command.
But I agree, m2make is very powerful and straightforward,
if you use one makefile per directory.
Arnfried, ao @ db0tui62.BITNET == coma.UUCP in Berlin ( West )
Technical Details
Message-ID:
<2000002@coma.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!husc6!seismo!mcvax!unido!coma!aoReferences:
<159@hslrswi.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!husc6!seismo!mcvax!unido!coma!ao From: ao@coma.UUCP Newsgroups: comp.lang.modula2 Subject: Re: Orphaned Response - (nf) Message-ID: <2000002@coma.UUCP> Date: Fri, 7-Nov-86 05:40:00 EST Article-I.D.: coma.2000002 Posted: Fri Nov 7 05:40:00 1986 Date-Received: Mon, 10-Nov-86 06:13:55 EST References: <159@hslrswi.UUCP> Lines: 33 Nf-ID: #R:hslrswi:-15900:coma:2000002:37777777600:1115 Nf-From: coma!ao Nov 7 11:40:00 1986