delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/28/22:10:48

Date: Mon, 29 May 1995 01:52:48 +0000 (GMT)
From: "Paal-Kr. Engstad" <pke AT engstad DOT ingok DOT hitos DOT no>
To: "P. da Silva" <pdasilva AT tpone DOT telepac DOT pt>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: MAKE (1st time using...)

On Mon, 29 May 1995, P. da Silva wrote:

> Hi,
> 
> I never used MAKE. Usually I use IDE. 
> After reading the introductory info about make,
> I tried to write a small makefile. I reduced
> it until the following:
> 
> pt.o : pt.c
>  gcc -c pt.c
> 
> and make always give me the same error message:
> 
> makefile:2: *** missing separator. Stop.

You miss a separator. This is a <TAB> character. You will need this in 
front of the gcc, thus:

pt.o: pt.c
	gcc -c pt.c
^
|_______ There is a TAB character here...

PKE

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019