automake
[Top][All Lists]
Advanced

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

Re: automake with defines


From: Alexandre Duret-Lutz
Subject: Re: automake with defines
Date: 20 Dec 2001 18:07:45 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

>>> "Marko" == Marko Mlinar <address@hidden> writes:
[...]
 Marko> The problem is, each test should be compiled with different defines
[...]
 Marko> Basically I would need something like prog_CFLAGS.

I think something like this should work:

TESTS = foo bar ...
EXTRA_PROGRAMS = foo bar ...
foo_SOURCES = foobar.c foo.h
foo_CFLAGS = -DNAME=foo
bar_SOURCES = foobar.c bar.h
bar_CFLAGS = -DNAME=bar
...

-- 
Alexandre Duret-Lutz



reply via email to

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