delorie.com/archives/browse.cgi | search |
From: | yogin AT polbox DOT com (Pawel Stolowski) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: make problem (ARHARHRHHARH) |
Message-ID: | <383ea09f.2238167@news.tpnet.pl> |
References: | <199911250131 DOT UAA07684 AT delorie DOT com> |
X-Newsreader: | Forte Free Agent 1.2/32.242 |
Lines: | 37 |
Date: | Fri, 26 Nov 1999 21:35:27 GMT |
NNTP-Posting-Host: | 212.160.50.163 |
X-Complaints-To: | abuse AT tpsa DOT pl |
X-Trace: | news.tpnet.pl 943652127 212.160.50.163 (Fri, 26 Nov 1999 22:35:27 MET) |
NNTP-Posting-Date: | Fri, 26 Nov 1999 22:35:27 MET |
Organization: | TPNET - http://www.tpnet.pl |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Thu, 25 Nov 1999 11:32:54 +1000, "Leon" <Leon AT caresystems DOT com DOT au> wrote: >CC = gxx >CFLAGS = -g -O2 >OBJECTS = main.o > >main.exe : $(OBJECTS) > $(CC) $(FLAGS) $(OBJECTS) -o main.exe > >%.o : %.c > $(CC) $(FLAGS) -c $< > > >i am definitely using tabs - still no luck > >it says no rule blah blah blah - i have taken this example right out of the >manual It's strange. I tried this makefile and it worked for me! Make sure, that you have main.c file and makefile in the same directory. Type 'make' (without parameters). I've noticed, that make refuses to do the job depending on the text editor I've used. If you got a message saying "missing separator..." it is possible, that your editor handles its textfiles in uncommon way (assuming it's not your mistake). You may safely use ms-dos/win9x "edit". You may also - but I didn't try this - use dtou (dos-to-unix) text-converting utility, which comes with djgpp (djdev202.zip to be exact). yogin AT polbox DOT com _____________________________ yogin AT polbox DOT com see my game at: www.free.net.pl/~yogin
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |