cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/12/03:00:52

From: "Daleg" <pekkaka AT dlc DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: MAKEFILE PROBLEM!!! correct??
Date: 12 May 1998 06:51:37 GMT
Organization: Scifi Communications International, http://www.sci.fi/, helpdesk AT sci DOT fi, +358 3 2899111
Lines: 35
Message-ID: <01bd7d72$84cfda40$0a4cdac3@default>
NNTP-Posting-Host: kou10.pp.dlc.fi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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!!!

i put the makefile with this mayday message, i hope that someone could help
me!!..
thanks!.

regards
Member of Mystic Software

Email to pekkaka AT dlc DOT fi

- MAKEFILE -


CC      =  gcc
CFLAGS  = -O2 -m486 -s

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

LOBJ = $(LOADERS:%=%.o)
OBJ  = $(OTHER) $(LOBJ)

all  : slink

slink: $(OTHER) $(LOBJ)      <- here gomes the separator error!!
       $(CC) $(CFLAGS) $(OTHER) $(LOBJ) -o $@ 
       strip $@

- Raw text -


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