Using the make(1) utility

The make(1) utility may also be used to ensure that QOF files are up to date. For example, the following lines can be added to a make file to tell make(1) how to build a QOF file from a .pl file.

                                   
Makefile
# Quintus Prolog Compiler (qpc) section .SUFFIXES: .qof .pl QPC=qpc QPCFLAGS= .pl: ${QPC} $(QPCFLAGS) -o $ $< .pl.qof: ${QPC} $(QPCFLAGS) -cN $<