To generate an executable program using the C language, one starts
by writing code for a main program and various functions or subroutines.
These are compiled to produce so-called object code. Finally these are linked
together and with other object code from various system libraries (e.g. for
mathematical and plotting functions) to produce the executable code. Other
standard source code may need to be included (particularly the .h definition
and macro files in the case of C programs). One has to know where to find these
other components. The complexities of the C compilation and linking procedures
are best handled using the Unix make command. The target of the Unix make
command is a text file called makefile. When you issue the command make, then
commands in makefile are executed and if these commands are properly structured,
your various source files are compiled and linked together to produce executable code.
Copy the file makefile.cplos from the above directory (but you
must rename it makefile in your area). The executable program will be named cplos.