delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/09/23:45:10

Message-ID: <3EBC7173.B949247C@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
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: <Xns9376D1B42B989michelcprimusca AT 216 DOT 254 DOT 136 DOT 26>
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.
   <http://cbfalconer.home.att.net>  USE worldnet address!

- Raw text -


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