Path: utzoo!utgpu!watmath!dgharriss
From: dgharriss@watmath.waterloo.edu (Dermot G. Harriss)
Newsgroups: uw.mfcf.bugs
Subject: magic makefiles
Message-ID: <29677@watmath.waterloo.edu>
Date: 2 Oct 89 13:25:55 GMT
Reply-To: dgharriss@watmath.waterloo.edu (Dermot G. Harriss)
Distribution: uw
Organization: Math Faculty Computing Facility, University of Waterloo
Lines: 29

I say this:

	.INCLUDE: 

	NAME 	= screen
	MODE	= 6755
	OWNER	= root
	GROUP	= kmem

	OPTIONS= -DLOADAV -DGETTTYENT -DUSEBCOPY
	CFLAGS=	-O $(OPTIONS)

	LOADLIBES = /usr/lib/libtermcap.a
	INCLUDES = screen.h
	SOURCE = screen.c ansi.c
	OBJECT = screen.o ansi.o

	.INCLUDE: 

and it says this:

	rm -f ./screen
	cc -O -DLOADAV -DGETTTYENT -DUSEBCOPY  screen.o ansi.o /usr/lib/libtermcap.a   -o /tmp/./screen$$ && mv /tmp/./screen$$ ./screen