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
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.
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