Date: Wed, 21 Mar 2001 22:59:23 -0800 From: Jos Backus <josb@cncdsl.com> To: freebsd-hackers@freebsd.org Subject: make .PREFIX question Message-ID: <20010321225923.A64237@lizzy.bugworks.com>
next in thread | raw e-mail | index | archive | help
/tmp% cat Makefile .SUFFIXES: .txt foo/bar.txt: a b @echo ${.TARGET}, ${.OODATE}, ${.ALLSRC}, ${.PREFIX} a b: echo $* /tmp% mkdir foo /tmp% touch b; make gives foo/bar.txt, b, a b, foo/bar instead of foo/bar.txt, b, a b, bar even though man make(1) says .PREFIX The file prefix of the file, containing only the file portion, no suffix or preceding directory components; also known as `*'. What am I missing? Thanks, -- Jos Backus _/ _/_/_/ "Modularity is not a hack." _/ _/ _/ -- D. J. Bernstein _/ _/_/_/ _/ _/ _/ _/ josb@cncdsl.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010321225923.A64237>