From 425a7987c50fb759f35cef7b89b5e71f93c96bca Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 14 Nov 2010 15:22:36 +1100 Subject: [PATCH] TSMPIPE 1.6 from HPC2N --- Makefile.linux32 | 16 ++++++++++++++++ Makefile.linux64 | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 Makefile.linux32 create mode 100644 Makefile.linux64 diff --git a/Makefile.linux32 b/Makefile.linux32 new file mode 100644 index 0000000..32aaed4 --- /dev/null +++ b/Makefile.linux32 @@ -0,0 +1,16 @@ +TSMAPIDIR=/opt/tivoli/tsm/client/api/bin/sample +TSMLIB=-lApiDS +CC=gcc +CFLAGS=-g -W -Wall -O -I$(TSMAPIDIR) +LDFLAGS= + +FILES=tsmpipe.c + + +all: tsmpipe + +tsmpipe: $(FILES:.c=.o) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(FILES:.c=.o) $(TSMLIB) -lm + +clean: + rm tsmpipe *.o diff --git a/Makefile.linux64 b/Makefile.linux64 new file mode 100644 index 0000000..359b581 --- /dev/null +++ b/Makefile.linux64 @@ -0,0 +1,16 @@ +TSMAPIDIR=/opt/tivoli/tsm/client/api/bin64/sample +TSMLIB=-lApiTSM64 +CC=gcc +CFLAGS=-g -W -Wall -O -I$(TSMAPIDIR) +LDFLAGS= + +FILES=tsmpipe.c + + +all: tsmpipe + +tsmpipe: $(FILES:.c=.o) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(FILES:.c=.o) $(TSMLIB) -lm + +clean: + rm tsmpipe *.o