automake
[Top][All Lists]
Advanced

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

Re: Feature request.


From: Akim Demaille
Subject: Re: Feature request.
Date: 26 Mar 2001 13:11:36 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

| I haven't dug into automakes internals.. or I'd consider hacking this up
| myself. It seems to me that a useful feature would be a DEFINES primary
| that allows extra DEFINES on a per program basis.
| 
| i.e (drawing on a similar example in the documentation)
| instead of
| bin_PROGRAMS = etags ctags
| ctags_SOURCES =
| ctags_LDADD = ctags.o
| 
| etags.o: etags.c
|         $(COMPILE) -DETAGS_REGEXPS -c etags.c
| 
| ctags.o: etags.c
|         $(COMPILE) -DCTAGS -o ctags.o -c etags.c
| 
| we could do
| bin_PROGRAMS = etags ctags
| ctags_SOURCES = etags.c
| ctags_DEFINES = -DCTAGS
| etags_DEFINES = -DETAGS_REGEXPS

IIRC, there is already _CFLAGS support, which should be enough.  Am I
missing something?  See tests/specflags*.test.



reply via email to

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