#!/bin/ksh -p
#
# NAME:    makerun - make a new ACUCOBOL-GT runtime system
#
# Distributed with ACUCOBOL-GT version 9.2.3
#
# SYNOPSIS:
#
# makerun [ldflags] [objects] [libraries]
#
# DESCRIPTION:
#
# makerun creates a new ACUCOBOL-GT runtime shared object. 
#
# The makerun command can be modified by the following optional arguments:
#
# [ldflags]
#
# The ldflags, objects and libraries arguments are passed to the ld command. 
# You can specify any valid ld options. For example instead of specifying
# absolute paths to library files you may specify -L followed by a directory
# name and -l followed by the library name without the "lib" prefix and 
# without the file extension. For example, /home/joe/lib/libacme.so can be 
# specified as -L /home/joe/lib -lacme.
#
# [objects]
#
# a list of additional objects to be linked into the ACUCOBOL-GT runtime
#
# [libraries]
#
# a list of additional libraries to be linked into the ACUCOBOL-GT runtime
#

EXTLIBS="$*" make relinkrun
