Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2004 15:45:32 -0400
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        questions@FreeBSD.org
Subject:   make(1) question
Message-ID:  <200404211545.32471@misha-mx.virtual-estates.net>

next in thread | raw e-mail | index | archive | help
Hello!

How can I describe creation of a non-existing file without full name --
by suffix only? For example, the following example:

	%.txt:
		@echo $*

works with gmake:

	% gmake SayIt.txt
	SayIt

but not with BSD make:

	% make SayIt.txt
	make: don't know how to make SayIt.txt. Stop

Any clues? Thanks!

	-mi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404211545.32471>