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

Date: Fri, 2 Dec 94 03:38:53 EST
To: jyoung AT apanix DOT apana DOT org DOT au
Subject: Re: Questions...
From: pfulmek AT pop DOT tuwien DOT ac DOT at (Paul FULMEK)
Reply-To: pfulmek AT pop DOT tuwien DOT ac DOT at
Cc: DJGPP Maillist <djgpp AT sun DOT soe DOT clarkson DOT edu>

>>>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
>>>Ciao,
This is just the standard behaviour. MAKE is supposed to behave that
way. The rules of a makefile consist of

TARGET ...: DEPENDENCIES ...
<TAB> COMMAND
<TAB> ...

Make sure that your editor does not expand <tab>s to <space>s!

Ciao,
Paul

--

Technische Universitaet Wien
Institut fuer Werkstoffe der Elektrotechnik
Dipl.-Ing. Paul FULMEK
Tel. (+43 222) 58801/3955
FAX: (+43 222) 50 41 587
Gusshausstrasse 27-29
Austria - 1040 WIEN



- Raw text -


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