Hi,

I'm using the following code to check if TUP_ARCH is set to my supported 
archs:

ifeq (@(TUP_ARCH),x86_64)
    CFLAGS = -m64 -march=core2
else
    ifeq (@(TUP_ARCH),i386)
        CFLAGS = -m32 -march=i686
    else
# The problem is here, I want to print also the TUP_ARCH in the error 
message
        error @(TUP_ARCH)  is not a valid architecture

# I tried different combinations but none it seems to work, what am I doing 
wrong ?
#        error @(TUP_ARCH)  + " is not a valid architecture"
#        error "@(TUP_ARCH)  is not a valid architecture"
# etc.
    endif
endif

Cheers,
BogDan.

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to