[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to make define statements global?
From: |
Marcus G. Daniels |
Subject: |
Re: how to make define statements global? |
Date: |
12 Jun 1998 11:49:50 -0700 |
>>>>> "you" == Paul Johnson <address@hidden> writes:
you> I want to have a statement like #define YES = 1
you> and have it apply to all of the files in a program, not just the
you> one it is in. Can you tell me how????
If it is for selecting a configuration, it is often useful to use the
compiler option -D. With the current Swarm makefile conventions,
EXTRACFLAGS would be a good place to put it.
EXTRACFLAGS=-DMYVARIABLE=1
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================