Using Makefiles with Pascal

Sean Colbath scco at ur-tut.UUCP
Wed Nov 6 04:10:57 AEST 1985


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 at UORVM



More information about the Comp.unix mailing list