#! /bin/csh -f
#

if ($#argv < 1) then
  set m = `arch`
else
  set m = $argv[1]
endif
set l = /home/noio/efiring/codas3/lib/$m
#
cc -o lst_conf  -I/home/noio/efiring/codas3/include \
  -I/home/noio/efiring/codas3/adcp/include \
  -I/home/noio/efiring/codas3/util \
   lst_conf.c \
   $l/main_cnt.o $l/ioserv.a $l/use_db.a $l/dbsource.a 
rm *.o
# set m = `arch`
# set l = ../../lib/$m
# cc -o ../../bin/$m/lst_conf  -I../include -I../../include lst_conf.c \
#   $l/main_cnt.o $l/use_db.a $l/ioserv.a $l/dbsource.a -lm
# chmod 0755 ../../bin/$m/lst_conf 
