Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ur-tut.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rochester!ur-tut!scco
From: scco@ur-tut.UUCP (Sean Colbath)
Newsgroups: net.unix,net.lang.pascal
Subject: Using Makefiles with Pascal
Message-ID: <206@ur-tut.UUCP>
Date: Tue, 5-Nov-85 13:10:57 EST
Article-I.D.: ur-tut.206
Posted: Tue Nov  5 13:10:57 1985
Date-Received: Thu, 7-Nov-85 06:32:09 EST
Reply-To: scco@ur-tut.UUCP (Sean Colbath)
Distribution: net
Organization: Univ. of Rochester Computing Center
Lines: 16
Keywords: Pascal, Makefiles
Xref: watmath net.unix:6165 net.lang.pascal:369

I recently discovered the wonders of 'makefiles' when compiling sources
from net.sources, and decided that it would be a 'neat thing' to use them
with the Pascal programs I am writing.  Since I was starting on a new
project, I made up a sample makefile, made a 'main.p' that had all the
procedures declared as external, and started writing procedures.  However,
a problem ensued.  The procedures (for obvious reasons) did not know about
any of the types I had declared in my main program.  This included the
complex types in the parameters I was passing.  The only thing I could 
figure out to do was compile the main program/procedures as one large 
program (grunge).  Is there any way around this, or am I just out of luck?

-Sean Colbath

"Dave, why don't you take a stress pill and lie down for a while?"
UUCP:    {allegra,decvax,ihnp4}!seismo!rochester!ur-tut!scco
BITNET:  SCCO@UORVM