:
# This demo demonstrates Cobol calling C and C++

# Create callable shared objects for C and C++
# Note: Can put C, C++ and Cobol all in one callable shared object, but we
# put the C++ in a separate callable shared object for demo purposes
cob -z,CC -v cxxsub1.C -e ""
cob -zv csub1.c

# Create main Cobol program
cob -vUx,CC cobmain1.cbl -o cobmain1 

# To run:
# ./cobmain1
