[Top][All Lists]

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

export not working...

From: Christopher J Bottaro
Subject: export not working...
Date: Tue, 20 Jan 2004 16:55:19 -0600
User-agent: KMail/1.5

i'm trying to do a recursive make, but the variables i export are not being 
seen by the sub makes.

SUBDIRS = blah...

        @if [ $(ARCH) = LINUX ]; then \
                export MYVAR = DEBUG; \
        cd $@ && $(MAKE)

when the sub make runs, MYVAR is not defined.  what am i doing wrong?

thanks for the help.

Christopher J Bottaro
Software Developer
GeoCenter, Inc

reply via email to

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