Re: About autoconf/automake problem



>>>>> "Ariel" == Ariel Rios <ariel linuxppc org> writes:

Ariel> Makefile: $(BUILT_SOURCES)

In general you actually don't want to do this.  First, this only works
with GNU make.  Second, it has bizarre side effects: watch it rebuild
the file when you run `make clean'.

Another way is to add a new explicit dependency:

    foo.o: foo.c

The next automake handles BUILT_SOURCES in a more intelligent way.
They are explicitly built before the `all' target is considered.

Tom




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