#!/bin/sh
#################################################################
# *** $RCSfile: prepmake,v $
# *** $Revision: 1.1 $
# *** $Date: 1995/03/11 19:44:40 $
#################################################################
# For example, "prepmake $SRC_DIR HP-g" looks in the directory $SRC_DIR for
# the file Makefile.pro, then uses it to create file Makefile.tmp for
# HP with debugging in the current directory.
# To use in a makefile, from the command "make Mfile", include the following
# sequence in the Makefile:
sed "s/^#$2: //" < $1/Makefile.pro > Makefile.tmp
|