delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/09/20:46:30

Newsgroups: comp.os.msdos.djgpp
Subject: Help with make
From: ChassMr <chasmr AT softhome DOT net>
Organization: Groupe 0
Message-ID: <Xns9376D1B42B989michelcprimusca@216.254.136.26>
User-Agent: Xnews/5.04.25
Lines: 19
Date: Fri, 09 May 2003 23:36:09 GMT
NNTP-Posting-Host: 216.254.196.189
X-Complaints-To: news AT primus DOT ca
X-Trace: news.primus.ca 1052523369 216.254.196.189 (Fri, 09 May 2003 19:36:09 EDT)
NNTP-Posting-Date: Fri, 09 May 2003 19:36:09 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

PLease help this newbie,
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

TIA
Michel Chassey

- Raw text -


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