#!/bin/csh
#---------------------------------------
#   Compile each Source program xxxxx.c/xxxxx.f
#            to generate Object xxxxx.o
#   'fort' must be aliased to the desired FORTRAN compiler
#---------------------------------------
gcc -c axis.c
gcc -c calma.c
gcc -c cont.c
fort -c getargs.f
gcc -c igrf.c
gcc -c lwkdir.c
gcc -c opnpin.c
gcc -c pspaint.c
gcc -c psplot.c
gcc -c ptext.c
gcc -c rand.c
gcc -c sml.c
gcc -c wshore.c
gcc -c xw84t.c
gcc -c xyconv.c
#-----------------------------------------
#   Archive file (libgm.a) maintenance:
#
#   To add or replace an object (xxxxx.o)
#       ar -r libgm.a xxxxx.o
#   To list up the content of archive
#       ar -tv libgm.a
#
#-----------------------------------------
ar -r libgm.a *.o
