You can use the make utility to control the build of your z/OS® UNIX System Services XL C/C++ applications. The make utility calls the c89 utility by default to compile and bind the programs that the previously created makefile specifies.
cd /u/jake/myappl
make
The make utility sees that mysub.c has changed,
and invokes the following commands for you:
c89 -O -c mysub.c
c89 -o myappl mymain.o mysub.o
See z/OS UNIX System Services Command Reference for a description of the make utility. For a detailed discussion on how to create and use makefiles to manage application parts, see z/OS UNIX System Services Programming Tools.