Message-ID: <3EBC7173.B949247C@yahoo.com> From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Help with make References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 Date: Sat, 10 May 2003 03:38:59 GMT NNTP-Posting-Host: 12.90.169.35 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1052537939 12.90.169.35 (Sat, 10 May 2003 03:38:59 GMT) NNTP-Posting-Date: Sat, 10 May 2003 03:38:59 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com ChassMr wrote: > > I have tried to copy the simple makefile from the info doc. > I am trying out a one-module program as a starter. Now gpp > compiles either main.cc or main.cpp into a functionning a.exe > but going with make gives the following : > > cc -c main.cc > make.exe : *** [main.o] Error -1 > > from this makefile : > > fun : main.o > cc -o fun main.o > > main.o : main.cc mydefs.h protos.h > cc -c main.cc Read the info documentation, especially the node "Using Implicit". I think things will start to make some sense then. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. USE worldnet address!