TSMPIPE 1.6 from HPC2N

This commit is contained in:
Deon George 2010-11-14 15:22:36 +11:00
parent c2eb0ac4ba
commit 425a7987c5
2 changed files with 32 additions and 0 deletions

16
Makefile.linux32 Normal file
View File

@ -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

16
Makefile.linux64 Normal file
View File

@ -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