ifneq (${OSARCH},Darwin)
ifneq (${OSARCH},SunOS)
ifneq (${PROC},x86_64)
+ifneq (${PROC},amd64)
ifneq (${PROC},ultrasparc)
ifneq ($(shell uname -m),ppc)
ifneq ($(shell uname -m),ppc64)
endif
endif
endif
+endif
#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
#This works for even old (2.96) versions of gcc and provides a small boost either way.
$(SRC)/table.c
ifeq (${OSARCH},Linux)
ifneq ($(shell uname -m),x86_64)
+ifneq ($(shell uname -m),amd64)
ifneq ($(shell uname -m),ppc)
ifneq ($(shell uname -m),ppc64)
ifneq ($(shell uname -m),alpha)
endif
endif
endif
+endif
TOAST_SOURCES = $(SRC)/toast.c \
$(SRC)/toast_lin.c \
ifeq (${OSARCH},Linux)
ifneq ($(shell uname -m), x86_64)
+ifneq ($(shell uname -m), amd64)
ifneq ($(shell uname -m), ppc)
ifneq ($(shell uname -m), ppc64)
ifneq ($(shell uname -m), alpha)
endif
endif
endif
+endif
TOAST_OBJECTS = $(SRC)/toast.o \
$(SRC)/toast_lin.o \