next up previous contents
Next: Linking Up: Working with private code Previous: Working with private code

Compiling

I recommend to work with your private code in a similar way as with the FLIB libraries. Use makefiles to compile and librarian your programs. Reasonable compiler flags you may take from the FLIB make files. Moreover, the buildmk utility may be used also for private programs. Assume that the current directory is <private>:

buildmk <private> $FOPI/ $CAVEB/             # UNIX, generates the file <private>.make  
buildmk <private> 'KP09.FLIB', 'KP09.ULIB' & # MVS batch, generates the file <private>.make  
build_make <private> VMS_DEC         # VMS, generates the file <private>.mms
If a file named <private>.makedefs is exists in the current directory (<private>), buildmk takes that as a preamble for the automatically generated makefile instead of its builtin defaults.

Back to GSI Home Page Back to FOPI Home Page Index

fopi
Tue May 28 15:33:35 CST 1996