User-defined commands can be added to SPECX by making use of the subroutines EXTRNL1 to EXTRNL10. There is currently little support for this and the user is left to hack her way around the SPECX directory tree.
It is relatively easy to modify the distributed source code. This is mainly an option for a local but site-wide version with EXTRNLn routines. Assuming that you are a Starlink site manager you would proceed as follows
/star/help/specx. After this step the existing package will still be in its built form in
cp -pr) the built system to the local Starlink tree. You can use any directory.
makefileand amend it. Also check
makefiles in sister directories like
../fittingto see how include files are handled.
/star/local/help/specx. You can use something else instead of
In order to re-build SPECX you need a number of Starlink libraries and include files in their
usual place. Non-Starlink sites may or may not have been issued with these libraries. As
indicators, you can check whether you have