[net.unix] Make question

guy@sdcc12.UUCP (Guy A. Lewis) (05/31/85)

  I have a make question. I am getting an error from make saying "must
  be a separator on rules". Any one know what this means?

				Thanks in advance,

				    Guy A. Lewis

sml@luke.UUCP (Steven List @ Uncle Bene's Farm) (06/03/85)

>   I have a make question. I am getting an error from make saying "must
>   be a separator on rules". Any one know what this means?

It means that there must be either a leading tab or semicolon on any
line that is intended to be executed.  For example

	target:  x y
	<tab>cc -O x.c y.c -o z

will work, while
	
	target: x y
	cc -O x.c y.c -o z

won't, and will produce that relatively cryptic error message.  Just
check for action lines (actually shell command lines) that do not begin
with tabs or semicolons.
                                     /-\  
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:
:                  Steven List @ Benetics Corporation                         :
:                              (415) 940-6300                                 :
:                  {cdp,idi,oliveb,tolerant}!bene!luke!steven                 :
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:
                                     \-/