clear clear echo '-------------------------------------------------------------------------------' echo '------ Psim3 C++ (POSIX threads) package for object oriented simulation -------' echo '------------------ (C) J. M. Garrido, 2004 -----------' echo '-------------------------------------------------------------------------------' g++ -w -pthread $1 /usr/psim3/libpsim3.a -I/usr/psim3 -lm # the following are for bash and pdksh #if [ "$2" != "" ] # change to parethesis for tcsh #then # mv a.out $2 # echo "$2 created." #else echo "a.out created." #fi # change to endif fot tcsh echo ' '