Date: Wed, 28 Sep 2011 06:38:53 +0000 From: h h <aakuusta@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: /usr/src -> make doesn't recognize target when '-f -' is used Message-ID: <86k48uyylg.fsf@gmail.com> In-Reply-To: <20110927.112343.546.2@DEV> (rank1seeker@gmail.com's message of "Tue, 27 Sep 2011 13:23:43 %2B0200") References: <20110927.093117.140.1@DEV> <86mxdq2tgj.fsf@gmail.com> <20110927.112343.546.2@DEV>
next in thread | previous in thread | raw e-mail | index | archive | help
(examples are probably useful for the archive, too) rank1seeker@gmail.com writes: >> According to make(1) manpage, it reads BSDmakefile, makefile or Makefile >> unless -f is specified. > > Well, via STDIN, I've attempted to feed it, with syntaks from a 'make.conf' > file, so I wouldn't have to provide file, via __MAKE_CONF. So, did the example with __MAKE_CONF=/dev/stdin help? It allows you to omit specifying makefile via `-f' or `.include'. More examples # append CFLAGS by overriding make.conf $ echo 'CFLAGS += -DDEBUG_LOCKS' | __MAKE_CONF=/dev/stdin make buildworld # append make.conf even if __MAKE_CONF is defined but empty $ (cat ${__MAKE_CONF-/etc/make.conf} /dev/null; echo 'CFLAGS += -DDEBUG_LOCKS') \ | __MAKE_CONF=/dev/stdin make buildworld > Looking again in man pages, I see that -f flag relates to Makefile syntaks > and NOT to the make.conf.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k48uyylg.fsf>