Received: by ATHENA-PO-3.MIT.EDU (5.45/4.7) id AA26995; Mon, 18 Mar 91 12:11:49 EST
Received: from uunet.UU.NET by ATHENA.MIT.EDU with SMTP
	id AA28447; Mon, 18 Mar 91 12:11:45 EST
Received: from saber.com by uunet.uu.net with UUCP 
	(5.61/UUNET-primary-gateway) id AA09795; Mon, 18 Mar 91 12:11:40 -0500
From: thomaso@saber.com
Received: from saber.saber.com by bowie (4.1/0.99) id AA02590; Mon, 18 Mar 91 10:44:27 EST
Received: from shiva.saber.com by saber.saber.com (5.64+/SABER 0.9)
	id AA19749; Mon, 18 Mar 91 10:44:35 -0500
Received: by shiva (4.0/0.99) id AA05417; Mon, 18 Mar 91 10:44:34 EST
Date: Mon, 18 Mar 91 10:44:34 EST
Message-Id: <9103181544.AA05417@shiva>
To: devo@ATHENA.MIT.EDU
Subject: make ; how to use it


Here are a few lines of make that should do what you wanted:
#####
.SUFFIXES: .C .o
COMPILE_CPLUS=CC +d -c

# Rule for building .o file from .C file
.C.o:
        $(COMPILE_CPLUS) $<
#####
Actually, I'm not sure how the COMPILE_CPLUS should be set, but it should
be something like this.  These lines will allow you to say 'make foo.o'
and it will compile foo.C into the foo.o.

						Tom Andrews
						thomaso@saber.com
