Re: Create a custom target

2009-04-24 Thread John Calcote
See my online Autotools book at freesoftwaremagazine: http://www.freesoftwaremagazine.com/books/autotools_a_guide_to_autoconf_automake_libtool Chapter 4 is all about automake. This book is due to be published by No Starch Press in October 09. John On 4/24/2009 12:16 AM, automake wrote:

Re: Create a custom target

2009-04-23 Thread automake
it to the all-local target as a dependency, like this: all-local: extra --john -- View this message in context: http://www.nabble.com/Create-a-custom-target-tp18299452p23210529.html Sent from the Gnu - Automake - General mailing list archive at Nabble.com.

Re: Create a custom target

2009-04-23 Thread John Calcote
On 4/22/2009 8:54 PM, automake wrote: Hi I have a similar problem with giving a customized target. I have included target into Makefile.am as extra: ...nm ...link But the default target for makefiles from configure.ac is all. Is there a way to add this target to all sub-target

Re: Create a custom target

2009-04-23 Thread Jan Engelhardt
On Thursday 2009-04-23 04:54, automake wrote: > >Hi > I have a similar problem with giving a customized target. I have included >target into Makefile.am > >as > >extra: > ...nm > ...link > >But the default target for makefiles from configure.ac is all. Is there a >way to add this targe

Re: Create a custom target

2009-04-22 Thread automake
Hello Tavian, > > * Tavian Barnes wrote on Sun, Jul 06, 2008 at 07:28:30AM CEST: >> Hi, guys. I have a question: how do I create a custom target, and >> selectively compile some code, and run the compiled executable, when >> this target is chosen? Specifically, I have

Re: Create a custom target

2008-07-07 Thread Ralf Wildenhues
* Tavian Barnes wrote on Mon, Jul 07, 2008 at 03:39:07PM CEST: > On Sun, Jul 6, 2008 at 11:25 PM, Ralf Wildenhues wrote: > > > > EXTRA_PROGRAMS = prog > > prog_SOURCES = ... > > bench: prog$(EXEEXT) > >execute prog$(EXEEXT)... > > .PHONY: bench > > This works great, thanks. What does .PHO

Re: Create a custom target

2008-07-07 Thread Tavian Barnes
On Sun, Jul 6, 2008 at 11:25 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Hello Tavian, > > please don't top-post, thank you. Sorry, I got lazy. Stupid GMail. > * Tavian Barnes wrote on Sun, Jul 06, 2008 at 07:45:23PM CEST: >> On Sun, Jul 6, 2008 at 1:59 AM, Ralf Wildenhues <[EMAIL PROTECTED

Re: Create a custom target

2008-07-06 Thread Ralf Wildenhues
Hello Tavian, please don't top-post, thank you. * Tavian Barnes wrote on Sun, Jul 06, 2008 at 07:45:23PM CEST: > On Sun, Jul 6, 2008 at 1:59 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > > > > Most of the Makefile.am text is copied verbatim into the Makefile.in > > (and from there into the Mak

Re: Create a custom target

2008-07-06 Thread Tavian Barnes
ROTECTED]> wrote: > Hello Tavian, > > * Tavian Barnes wrote on Sun, Jul 06, 2008 at 07:28:30AM CEST: >> Hi, guys. I have a question: how do I create a custom target, and >> selectively compile some code, and run the compiled executable, when >> this target is chosen?

Re: Create a custom target

2008-07-06 Thread Ralf Wildenhues
Hello Tavian, * Tavian Barnes wrote on Sun, Jul 06, 2008 at 07:28:30AM CEST: > Hi, guys. I have a question: how do I create a custom target, and > selectively compile some code, and run the compiled executable, when > this target is chosen? Specifically, I have a benchmarking suit

Create a custom target

2008-07-05 Thread Tavian Barnes
Hi, guys. I have a question: how do I create a custom target, and selectively compile some code, and run the compiled executable, when this target is chosen? Specifically, I have a benchmarking suite for a library I wrote, and I want to compile the code in the bench/ directory, and run the