Quoting Daniel Leidert <[EMAIL PROTECTED]>:

I guess, you further need a

SUFFIXES = .txt .bin

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

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

.txt.bin:
        cp -f $^ $@

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


Then it works here.


Same here and without the SUFFIXES :)

Cheers,

--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory

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




Reply via email to