Mail Archives: djgpp/2000/02/02/10:03:34
On Wed, 2 Feb 2000, Nicolas Le Novere wrote:
> Here is an extract of the makefile
>
> # Edit the following line to precise where to find the files containing
> # the sets of nearest_neighbor parameters
> NN_DIR=\"/usr/local/share/MELTING4/NNFILES/\"
The usual practice in the DJGPP ports is to replace the "/usr/local"
prefix by the root of the DJGPP installation. Since different people
install DJGPP in different places, DJGPP v2.03 introduced a special
feature, whereby any file name that begins with "/dev/env/DJDIR" will be
expanded at run time to begin with the exact path name of the root of the
DJGPP installation.
So I would suggest to replace the above line with this:
NN_DIR=\"/dev/env/DJDIR/share/MELTING4/NNFILES/\"
> I tried
> NN_DIR = "c:\Program Files\melting4\nnfiles\ \"
> NN_DIR = "c:\\Program Files\\melting4\\nnfiles\\ \"
>
> but nothing is working.
You don't explain what does ``nothing is working'' mean. I'm guessing
that one of the problems is that you left an extra blank at the end of
the string; it shouldn't be there. Also, if you insist on using
backslashes in Makefiles (it's generally a bad idea, see the file
README.DOS in the Make distribution), you need to double each backslash,
like you did in the second example above. The first example most
certainly will not work.
- Raw text -