[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding extra rules to make

From: Benoit Sigoure
Subject: Re: Adding extra rules to make
Date: Thu, 21 Jun 2007 23:26:31 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.1.3)

Quoting Daniel Leidert <address@hidden>:

I guess, you further need a

SUFFIXES = .txt .bin

No, Automake is able to infer this when seeing user-defined suffix-rules such as

Remove the SUFFIXES line and run automake -v to convince yourself.
$ cat
SRC = foo.txt
BIN = $(SRC:.txt=.bin)

        cp -f $^ $@

all-local: $(BIN)
        echo $(BIN)
$ automake -v |& grep '\.txt'
automake: Sources ending in .txt become .bin
$ grep SUFFIXES Makefile
.SUFFIXES: .bin .txt

Then it works here.

Same here and without the SUFFIXES :)


Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory

This message was sent using IMP, the Internet Messaging Program.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]