automake
[Top][All Lists]
Advanced

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

Re: building a program on target


From: Ralf Wildenhues
Subject: Re: building a program on target
Date: Fri, 2 Jun 2006 17:53:06 +0200
User-agent: Mutt/1.5.11

Hi Benjamin,

* Benjamin Grauer wrote on Fri, Jun 02, 2006 at 05:48:35PM CEST:
> 
> i want to build a library and a testing program in one and the same
> directory (script below)
> 
> now what i want is, that the lib is build by default, but the Program
> only when i specially invoke it with
> 'make example'

Use EXTRA_PROGRAMS instead of bin_PROGRAMS if you don't want it
installed, and add an explicit `example' rule to depend on it.

Or you could (ab)use check_PROGRAMS, and use `make check'
(and add the program to TESTS, so that it is tested...)

Cheers,
Ralf




reply via email to

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