From e74fc29487b5b211e0f5d259df1f9711fdc879fe Mon Sep 17 00:00:00 2001 From: goodale Date: Fri, 10 Sep 2004 05:33:51 +0000 Subject: Some ugly code to get this compiling on the sx-5. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@329 ebee0441-1374-4afa-a3b5-247f3ba15b9a --- src/make.code.defn | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/make.code.defn b/src/make.code.defn index 9376fc6..d08f8eb 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -6,3 +6,11 @@ SRCS = Startup.c Output2D.c Write2D.c Output.c Write.c DumpVar.c DumpGH.c \ # This avoids warnings when including the FlexIO headers CFLAGS += -DANSI + +UNAME := $(shell uname) + +ifeq ($(UNAME), SUPER-UX) + +CFLAGS += -DSX5 +endif + -- cgit v1.2.3