#!/bin/sh #-------------------------------------------------------------------------- # Description: # Called by zad to add/replace the specified object file in the CAPLIB2 # debugging library. # $HOME should be set to the path to the cap2 subdirectory, e.g. "/home/smitty" # if it's /home/smitty/cap2. $PATH should have $HOME/cap2/bat:$HOME/cap2/bin # at it's front before invoking. #-------------------------------------------------------------------------- # Changelog: # 920101 Smitty created. #-------------------------------------------------------------------------- # Called by zad. echo "Linking $1 into $HOME/cap2/lib/libbug2.a now." ar rs $HOME/cap2/lib/libbug2.a $1.o rm $1.o