From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,85ecbcca852aedd7 X-Google-Attributes: gidfee84,public From: linnartz@software-ag.de Subject: Re: Make on Digital Unix 4.0D Date: 1998/12/02 Message-ID: <74472n$8jp$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 417954452 References: <365BF397.8ADD2604@astro.ulb.ac.be> X-Http-Proxy: 1.0 x13.dejanews.com:80 (Squid/1.1.22) for client 193.26.194.2 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Dec 02 20:14:19 1998 GMT Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.5 [en] (X11; I; OSF1 V4.0 alpha) In article <365BF397.8ADD2604@astro.ulb.ac.be>, Guy Paulus wrote: > Hello: > What actually puzzles me is: where does the "/" in /sph_lib.cpp come from? if you put your comment above that line, everything will work as expected. The make parser realizes there's a space behind INCLUDE and appends this. this results in the expansion depicted below. > SPHSRC = ../../COMMON/INCLUDE # SPH Lib files > > SPHLIBSRC = sph_lib.cpp >.... deleted > sph_lib: ${SPHSRC}/${SPHLIBSRC} this gets expanded to sph_lib depends on ../../COMMON/INCLUDE /sph_lib.cpp Hope this helps, Pit -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own