Hello,
On Wed, Mar 19, 2008 at 10:51:28AM -0700, iamcamiel wrote:
> For those interested; [...]
and for the readers of the archive.
> prog_a_CXXFLAGS = -DVAR_A
A typo: _CPPFLAGS (C PreProcessor), CXX stands for C++.
Other than that, it's a perfect solution.
Stepan Kasal
> prog: $(OBJS)
> $(LD) $(LDFLAGS) -o prog $(OBJS)
>
> prog_a: $(VAR_A_OBJS)
> $(LD) $(LDFLAGS) -o prog_a $(VAR_A_OBJS)
>
> Is there a standard way of doing something like this when using the
> autotools?
>
> Thanks,
>
> Camiel.
>
--
utotools?
Thanks,
Camiel.
--
View this message in context:
http://www.nabble.com/Building-multiple-versions-of-the-same-program-tp16144717p16144717.html
Sent from the Gnu - Automake - General mailing list archive at Nabble.com.