From: Nicolas Le Novere Newsgroups: comp.os.msdos.djgpp Subject: -DPATH="msdos path" ? Date: Wed, 02 Feb 2000 10:15:57 +0000 Organization: university of Cambridge Lines: 37 Message-ID: <389803DD.1F7B9E01@cus.cam.ac.uk> NNTP-Posting-Host: signal01.zoo.cam.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, [It is probably a usual question, but I did not find the answer in FAQS and list archives] I am porting a small ISO C program from Linux to DOS/Windows. This program needs to know a default path, included at compilation: 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/\" # Here add your compiler name and the chosen options CC = gcc # options to produce the release version CFLAGS = -Wall -pedantic -O3 -DNN_BASE=$(NN_DIR) # options to produce a version to debug and prof #CFLAGS = -Wall -pedantic -g -DNN_BASE=$(NN_DIR) How can I set the path under win(dos) ? I tried NN_DIR = "c:\Program Files\melting4\nnfiles\ \" NN_DIR = "c:\\Program Files\\melting4\\nnfiles\\ \" but nothing is working. Thanks very much, -- Dr Nicolas Le Novère e-mail: nl223 AT cus DOT cam DOT ac DOT uk Dpt Zoology, Univ Cambridge, Downing street, Cambridge CB2 3EJ, UK http://www.pasteur.fr/recherche/unites/neubiomol/ tel: +44 1223 336623 fax: +44 1223 336676