| delorie.com/archives/browse.cgi | search |
| From: | "Stephen Wade" <maitrek AT austarmetro DOT com DOT au> |
| Newsgroups: | comp.os.msdos.djgpp |
| References: | <3e350912$1 AT news DOT comindico DOT com DOT au> |
| Subject: | Re: Going insane with Make |
| Lines: | 53 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
| X-Original-NNTP-Posting-Host: | 203.220.99.46 |
| Message-ID: | <3e353cc2@news.comindico.com.au> |
| X-Original-Trace: | 28 Jan 2003 01:05:54 +1000, 203.220.99.46 |
| Date: | Mon, 27 Jan 2003 14:05:59 GMT |
| NNTP-Posting-Host: | 203.194.27.1 |
| X-Complaints-To: | abuse AT comindico DOT com DOT au |
| X-Trace: | news.optus.net.au 1043676359 203.194.27.1 (Tue, 28 Jan 2003 01:05:59 EST) |
| NNTP-Posting-Date: | Tue, 28 Jan 2003 01:05:59 EST |
| Organization: | Comindico Australia - reports relating to abuse should be sent to abuse AT comindico DOT com DOT au |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Actually, I think it may just be the fact that I'm using it from a particular directory. Stephen Wade <maitrek AT austarmetro DOT com DOT au> wrote in message news:3e350912$1 AT news DOT comindico DOT com DOT au... > Okay, this should be a really straightforward problem, it's likely something > massively simple that I've missed - but I'm obviously too dumb to figure it > out myself so here goes. > > This is my frist attempt at using a makefile, and every time i run "make" > from the MS-DOS prompt in windows 98 in a directory which contains this > makefile > (called 'makefile') > #------------------ > vpath %.c ..\src > vpath %.h ..\src > > CC=gcc.exe > > vexle : vexle.o vbe3.o mouse.o > cc -o vexle vexle.o vbe3.o mouse.o > > vexle.o : vexle.c vexle.h > cc -c vexle.c > > vbe3.o : vbe3.c vbe3.h > cc -c vbe3.c > > mouse.o : mouse.c mouse.h > cc -c mouse.c > > .PHONY : clean > > clean : > del *.o > #------------ > > I get the output > "make.exe: *** No targets specified and no makefile found. Stop." > > Why is it saying this? As far as I can tell I have a valid target, and the > makefile is *definitely* there (I'm not that dumb - or am i :) ) any ideas? > I'm using latest version of DJGPP to compile and make.exe ver. 3.791 > > When i tell it to spew output it just seems to whinge alot about recursion > trying to find makefiles of various names, and that's it. > >
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |