Step 3 of 9: Setting
Up the Directories
The next step is to establish the
appropriate directory tree inside your root directory. Your
directories should look exactly like the diagram below. If
they do not, the Makefile will not be able to store your
executable files in the proper sub-directory.
The following steps are the commands you
need to execute at the prompt line in order to obtain such a
structure:
% cd
% mkdir pvm3
% cd pvm3
% mkdir
src
% cd ..
% mkdir bin
|
Now you have two sub-directories - src
and bin, lying in the pvm3 directory.
The src directory is where you will store
the pvm source.c files, as well as the Makefile.aimk
file (Be sure
that you are in the src directory each time you try to
compile your code). When you follow this structure,
Makefile.aimk will compile your programs, and store the
executable files in under your bin
sub-directory.
|