#: 9064 S3/Languages
08-Jan-91 08:53:33
Sb: #9059-#'C' help
Fm: Pete Lyall 76703,4230
To: Jim Peasley 72726,1153 (X)
Jim -
Running make usually requires that the Makefile be named just that (in Unix the
capital is significant - is os9 it's not). The make file is a list of
depenancies, and the Make program recurses down the list. Ex:
foo: part1.r part2.r foo.h
part1.r:
part2.r:
This makefile pretty much uses all defaults. That is, the .r's are implicity
built from .c's. It first looks at the target (foo), and then what makes it up.
It then checks the constituent parts, and sees what makes THEM up.
For now, forget a RELS dir, and just put all your .r files in the current dir.
Also, delete any macro relating to OBJS or RELS in the makefile.
Pete
There are 2 Replies.
|