[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing different DEFS to different targets
From: |
Tom Tromey |
Subject: |
Re: Passing different DEFS to different targets |
Date: |
06 Aug 2001 20:24:38 -0600 |
>>>>> "Lars" == Lars J Aas <address@hidden> writes:
Lars> : alphaserver_DEFS = -DALPHA=1
Lars> : betaserver_DEFS = -DBETA=1
Lars> I think _CFLAGS can be used for this.
Yes, or _CPPFLAGS. This works with "1.5" (aka cvs) only:
alphaserver_CPPFLAGS = -DALPHA=1
betaserver_CFLAGS = -O2 -fkeep-inline-functions
With automake 1.4 you have to do a fair amount of manual work to get
this to happen.
Tom