[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting target execution order
From: |
Noel Yap |
Subject: |
Re: Setting target execution order |
Date: |
Mon, 24 Nov 2003 16:01:51 -0500 |
The usual way to do what you want /is/ to make all a prereq of gzip. I don't
understand your reasoning as to why this wouldn't work. Can you elaborate with
an example?
Noel
Matt Perry wrote:
>
> Is it possible to set a target to execute only after all others have
> executed? I have a makefile that does some things and has an option to
> gzip the result. Right now I'm telling it to gzip things by adding gzip
> as a target on the command line like so:
>
> make all gzip
>
> However if I accidentally type:
>
> make gzip all
>
> It will execute the gzip target first which I don't want since there's
> nothing to gzip yet.
>
> Making all a prerequisite of gzip isn't a solution either as there are
> several targets in the makefile that are independent of each other (but
> create the same output file that I might want gzipped).
>
> Any suggestions?
>
> --
> Matt Perry | matt at primefactor dot com
>
> _______________________________________________
> Help-make mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-make
--
NOTICE: If received in error, please destroy and notify sender. Sender does
not waive confidentiality or privilege, and use is prohibited.
- Setting target execution order, Matt Perry, 2003/11/24
- Re: Setting target execution order,
Noel Yap <=
- Re: Setting target execution order, Matt Perry, 2003/11/24
- Re: Setting target execution order, Noel Yap, 2003/11/24
- Re: Setting target execution order, Paul D. Smith, 2003/11/24
- Re: Setting target execution order, Matt Perry, 2003/11/24
- Re: Setting target execution order, Noel Yap, 2003/11/24
- Re: Setting target execution order, Matt Perry, 2003/11/25
- Re: Setting target execution order, Noel Yap, 2003/11/25
- Re: Setting target execution order, Paul D. Smith, 2003/11/25
- Re: Setting target execution order, Matt Perry, 2003/11/25
- Re: Setting target execution order, Noel Yap, 2003/11/25