On January 11, 2005 06:16, Stepan Kasal wrote:
Another approach would be to put the subdir into SUBDIRS, but prevent
the target `all' from making the programs there:
[...]
Thank you! This is much better and cleaner than what I had proposed. This is
exactly what I needed.
--
Simon Perreault
Hi,
On Sun, Jan 02, 2005 at 01:08:22PM -0500, Simon Perreault wrote:
SUBDIRS = ...
DIST_SUBDIRS = $(SUBDIRS) examples
.PHONY: examples clean-examples
examples: all
( cd $(top_builddir)/examples $(MAKE) $(MFLAGS) )
clean-examples:
( cd $(top_builddir)/examples $(MAKE)
On Sun, 2005-01-02 at 13:08 -0500, Simon Perreault wrote:
Just to let everyone know that I found a solution to my problem. The correct
search string in Google was 'automake make examples', where I could find
Makefile.am's of people who had been there before. I could then extend those
a bit
DIST_SUBDIRS = lib bin examples
SUBDIRS = lib bin @EXAMPLES@
Simon Perreault wrote:
Hi,
I have a question for which I haven't been able to find an answer on my own,
using the usual resources (manual, google, etc).
My project uses automake and I want to have a directory containing example
On Sunday January 2 2005 02:56, Robert Collins wrote:
IIRC - untested:
===
EXTRA_PROGRAMS=foo bar
examples: $(EXTRA_PROGRAMS)
Thank you for your answer, but I don't understand how I can apply that to my
project, which uses an examples subdirectory where example programs are
located. Am I
On Sunday January 2 2005 04:30, Guido Draheim wrote:
DIST_SUBDIRS = lib bin examples
SUBDIRS = lib bin @EXAMPLES@
Thank you for your answer, but there seems to be something missing or maybe I
didn't understand something. I have used these lines:
DIST_SUBDIRS = wrap tests examples
SUBDIRS =
Just to let everyone know that I found a solution to my problem. The correct
search string in Google was 'automake make examples', where I could find
Makefile.am's of people who had been there before. I could then extend those
a bit so that make clean would also clean the examples.
On Sun, 2005-01-02 at 10:54 -0500, Simon Perreault wrote:
On Sunday January 2 2005 04:30, Guido Draheim wrote:
DIST_SUBDIRS = lib bin examples
SUBDIRS = lib bin @EXAMPLES@
Thank you for your answer, but there seems to be something missing or maybe I
didn't understand something. I have
Hi,
I have a question for which I haven't been able to find an answer on my own,
using the usual resources (manual, google, etc).
My project uses automake and I want to have a directory containing example
programs. These programs should not be built on a simple make, but could be
built on a
On Sat, 2005-01-01 at 20:24 -0500, Simon Perreault wrote:
Hi,
I have a question for which I haven't been able to find an answer on my own,
using the usual resources (manual, google, etc).
My project uses automake and I want to have a directory containing example
programs. These programs
10 matches
Mail list logo