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

for example, if i write:

====Begin Makefile====
somefile: somefile.*.o
        cc $? -o $@
====end of Makefile====

it will compile all my files but will of course only produce one
binary(somefile). I want it to produce a binary named somefile.* for
every somefile.*.c source file i have.

-Ido.

Reply via email to