Date: Tue, 12 May 1998 13:26:39 +0300 (IDT) From: Eli Zaretskii To: Daleg cc: djgpp AT delorie DOT com Subject: Re: MAKEFILE PROBLEM!!! correct?? In-Reply-To: <01bd7d72$84cfda40$0a4cdac3@default> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.