delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/10/21:49:29

Sender: Alain Borel <aborel AT pcbch3207h DOT unil DOT ch>
From: Alain Borel <aborel AT icma DOT unil DOT ch>
Subject: Re: makefile error
Newsgroups: comp.os.msdos.djgpp
References: <33E98D75 DOT 502F7AB4 AT wwa DOT com>
Lines: 33
NNTP-Posting-Host: pcbch3207h.unil.ch
Message-ID: <33e9ef3f.0@cisun2000.unil.ch>
Date: 7 Aug 97 15:52:31 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

diego j vilasuso <rilic AT wwa DOT com> wrote:
: I need help in understanding an error message I receive when I
: try to run a MAKEFILE.  The 'makefile' is very simple:

: main.o : main.cc define.h
:             gxx -c main.cc

: func.o : func.cc define.h
:             gxx -c func.cc

: runp : main.o func.o makefile
:             gxx -o runp main.o func.o

: Actually just about any order or of any of the above
: produces the same error.  The erroe being:

: makefile: 4: *** missing seperator.  Stop.

: What does this mean?  I'll apperciate any input.

Hello!

The most probable problem is that the lines defining the actions to be
taken (eg. gxx ....) have to start with a TAB, not a bunch of spaces.
Some text editors silently translate your TAB's to say 8 spaces, so
you might want to try another one...

Hope this helps!

Alain Borel
<Alain DOT Borel AT icma DOT unil DOT ch>


- Raw text -


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