mkmk [ - ]
This prototype Makefile has a lot of comments, to assist in customizing it to your specifications. These comments need to be removed from the ultimate Makefile. If you specify an option (any option) to mkmk, only the rules are printed; most of the comments are omitted.
The prototype Makefile has sections for creating a simple c application, a simple Fortran application, a static library and a dynamic library. Man pages, and perl and tcl/tk scripts need no special commands in the Makefile to create them, they need only be mentioned in the MAN= and BIN= macro so they get made and installed.
For example, in a Makefile for a perl script pearl, use following lines:
Name the perl source file pearl.xpl, and this Makefile will create the executable and install it and its man page.BIN=pearl MAN1=pearl.1 include $(ANTELOPEMAKE)
Simple, single source file c and fortran programs don't need an explicit rule either -- all that's really required are the following:
BIN=fort MAN1=fort.1 ldlibs=$(DBLIBS) include $(ANTELOPEMAKE)
antelopemakefile(5)