SEP's make rules
The SEP make rules fall into two groups:
The program compilation start with the Prefix Prg.
The document maintainance rules start with the Prefix Doc.
You can find more information about the document maintainance system at
about reproducible electronic documents.
All these rules are adapted to SEP's compute environment.
You may have to adapt them to your specific computer setup.
Other files serve special purposes and are not included into a makefile
Doc files implements SEP's make rules and variable definitions
for SEP's electronic reproducible documents.
Prg files implements SEP's make rules and variable definitions for
compiling, linking, and installation of executables.
SEP files organizes the inclusion of the various make source code.
Make rules are not installed on a system, but included in a makefile.
The process is well documented in the GNU make documentation. You find
an example in the docs/Frog and docs/Rules directories. Here is a
Download the SEP make rules.
Place the common rules (the Doc* and Prg* files) in a directory,
Start editing a Makefile by including the common rule files:
Alternatively you can use a environment variable to locate
the directory /usr/local/share/make:
setenv SEPINC /usr/local/share/make
The corresponding Makefile then reads:
Ensure you have GNU make (3.74 or higher) installed on your system.
If not download a copy from the /pub/GNU/ directory of
gatekeeper.dec.com or any other GNU mirror site.
Write your application specific Makefile part.
Ensure that you use GNU's make executable when invoking any target.
If there are duplicate make versions on your system, you may have
to set an alias or invoke GNU make as