Mail Archives: djgpp/1998/05/12/06:27:59
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 -