delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/12/06:27:59

Date: Tue, 12 May 1998 13:26:39 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Daleg <pekkaka AT dlc DOT fi>
cc: djgpp AT delorie DOT com
Subject: Re: MAKEFILE PROBLEM!!! correct??
In-Reply-To: <01bd7d72$84cfda40$0a4cdac3@default>
Message-ID: <Pine.SUN.3.91.980512132316.23009D-100000@is>
MIME-Version: 1.0

On 12 May 1998, Daleg wrote:

> PLease somebody tell me what's wrong with this makefile
> make tell's 'missing separator' and if i put the  ' \ ' then it works
> but it tell's 'no rule to make gcc needed by slink'   HELP!!!
[snip]
> slink: $(OTHER) $(LOBJ)      <- here gomes the separator error!!
>        $(CC) $(CFLAGS) $(OTHER) $(LOBJ) -o $@ 
>        strip $@
  ^^^^^^^
The underlined space above should be a TAB character, not spaces.  Note 
that this is a FAQ: the DJGPP FAQ list (available as v2/faq210b.zip from 
the same place you get DJGPP) explains this in section 22.15.

> LOADERS  = drv_gus drv_sb drv_ss drv_nos drv_raw
> 
> OTHER    = mdma.o  mdriver.o mirq.o mmio.o munitrk.o mloader.o virtch.o
> 
> LOADERS  = load_m15 load_mod load_mtm load_s3m load_xm load_stm  \
>            load_uni load_ult

Why do you have two lines which set LOADERS?  This seems like an error.

- Raw text -


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