[net.micro.amiga] Help with Make

jea@ur-cvsvax.UUCP (Joanne Albano) (09/30/86)

THese comments were originally directed at the Distillery
group but I cant seem to get them through. Can anyone offer some 
suggestions.

Hi, there's something I dont understand witMake andh BLink. The example makefile
provided requires a c.o file. BUt my version (v3.03) of lattice is not
supplied with a c.o file. An earlier LATTICE version (v3.01)
that I have does have a c.o file.

In any case while trying to Blink my files using make I get a
batch of undefined symbols such as _StackPtr in the first Pass. Something 
is obviously missing from my command line. I have checked that my 
assignment searches are working and that the system is finding amiga.lib
and lc.lib. builtins.make and blink are in SYS:c  libraries are in SYS:lib
etc. Here is a copy of my modified makefile. The one that was sent did
not work.

 blink FROM main.o,hello.o LIBRARY LIB:lc.lib,LIB:amiga.lib\
       TO hello VERBOSE

main.o: hello.h
 lc -iINCLUDE/ -iINCLUDE/lattice/ main

hello.o: hello.h
 lc -iINCLUDE/ -iINCLUDE/lattice/ hello

 _____________________________________
 Another question --- is there anyway to redirect the output of
make so that the errors are collected in an error file?
 ____________________________________
 Another question --- is it possible to put a OS command into
makefile so that I can do something like this:

 date:
	date>df0:now

The utility of this is that when I crash the date file will be
updated frequently.
____________________________________
Another question --- while make may listen to ^C , Lattice C
doesnt! Correct or have I missed something.
___________________________________
Well, I really must thank you very much.
		!rochester!ur-cvsvax!jea

		aka -- joanne --