delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/02/06:11:35

To: James Young <jyoung AT apanix DOT apana DOT org DOT au>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Questions...
Date: Fri, 02 Dec 94 07:55:08 +0100
From: ck AT ws2 DOT theochem DOT uni-hannover DOT de

>I've been having some WEIRD problems with make 3.71.  It keeps saying
>'Missing separator.  Stop.' when I don't put a TAB char in on a new line!!
>This doesn't work:
>
>.c.o:
>	$(CC) $(CFLAGS) -o$*.o $*.c
>
>with SPACES before $(CC), but this does work:
>
>.c.o:
>	$(CC) $(CFLAGS) -o$*.o $*.c
>
>with a TAB char before $(CC), even though the code is the same!!  I
>thought make was supposed to disregard tabs, and only take notice of
>spaces!  Is this a bug, or a feature??
>
>I'm new to DJGPP, so...

It's a feature! Make needs the TAB char to recognize a command!!!

Greetings
Christian

- Raw text -


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