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

SUBDIRS = blah...

$(SUBDIRS):
        @if [ $(ARCH) = LINUX ]; then \
                export MYVAR = DEBUG; \
        fi
        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
281-443-8150


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to