LJ Archive

Listing 3

#!/bin/sh
#
# makeslatec: a script to compile the SLATEC library
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin
mkdir 00_objects
cd 00_objects
g77 -c -O3 ../*.f
mkdir 00_non_sharable_objects
mv bvpor.o dbvder.o dbvsup.o drkfab.o rkfab.o\
   bvder.o bvsup.o dbvpor.o dexbvp.o exbvp.o \
   00_non_sharable_objects
g77 -shared -o /usr/local/lib/libslatec.a *.o
exit
LJ Archive