canonicalization/stripping of leading ./

2007-11-28 Thread dherring
Here's an example makefile: cat <<_EOF > Makefile test.out: ./script.sh $< > $@ _EOF Now when I run make, it executes `script.sh > test.out` instead of `./script.sh > test.out` This is all fine when 'PATH=.:', and sometimes acceptable when 'PATH=:.'; but in the general case, its very

RE: canonicalization/stripping of leading ./

2007-11-28 Thread dherring
On Wed, 28 Nov 2007, Martin Dorey wrote: http://www.gnu.org/software/make/manual/make.html#Makefile-Basics suggests you follow your final suggestion, as you (seem to) have a $(srcdir) variable. It suggests ./ otherwise, although I've tripped over doing that and generally use $(CURDIR)/ myself.

Re: make command

2010-06-09 Thread dherring
On Wed, 9 Jun 2010, Pascal CHARDONNET wrote: I am working on imac and make command is not install. Where I can find and install it? I believe make is part of Apple's Xcode http://developer.apple.com/technologies/xcode.html - Daniel P.S. Such vendor-specific issues are off-topic for this li