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