[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extra make rules
From: |
Ralf Wildenhues |
Subject: |
Re: Extra make rules |
Date: |
Wed, 6 May 2009 22:08:17 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello Philip,
* Philip Herron wrote on Wed, May 06, 2009 at 03:49:50PM CEST:
>
> This is probably in the automake manual but hey. I am wondering is it
> possible to say in a Makefile.am besides your bin_programs CFLAGS etc...
>
> Can you add extra things like a: make check rule -> to run the
> bin_program(s) and grep for a certain output or is it best to write a
> script to do this?
Yes, it is possible. For the most part, Makefile.am contents are copied
into the resulting Makefile, so you can just use plain `make' rules as
you would in a Makefile.
Automake has support for test scripts and programs with the TESTS
variable, see "info Automake Tests".
Cheers,
Ralf
- Extra make rules, Philip Herron, 2009/05/06
- Re: Extra make rules,
Ralf Wildenhues <=