Mail Archives: djgpp/1994/12/02/06:39:15
>>>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 -