Re: make: making the binary name dependent on the source file name.

Ido Yehieli <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <55aae7f8-70db-4cd8-8702-ce929a028cd7@x69g2000hsx.googlegroups.com>
On Jan 3, 3:32 pm, Ralf Fassel <[email protected]> wrote:
> * Ido Yehieli <[email protected]>
> |     I have several source files in a directory (which are different
> | versions of the same program), and I want gnu make to compile each of
> | them and name the resulting binaries according to the source name.
>
>   % cat Makefile
>   all: somefile.*
>   % gmake all
>
> HTH
> R'

make: Nothing to be done for `all'.

-ido
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.