On Sun, Feb 05, 2006 at 08:43:42PM +0100, August Karlstrom wrote: > Can anyone tell me why I get a "no targets" message from make in the > following example?
[...] > %.suffix2: %.suffix1 > cp $< $@ Well, you get no targets because you have specified *no targets*! You never indicated to Make *what* you want to build. If you say: $ make test1.suffix2 it will work. In the makefile you simply indicated that: "If you need a .suffix2 file, then you can make it from the corresponding .suffix1 file like this". But you never said what you want to make. /npat -- All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. -- IBM maintenance manual, 1925 _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
