delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/06/13:23:04

Message-ID: <37D3885F.AC003BA2@postoffice.pacbell.net>
From: arrel AT pacbell DOT net
X-Mailer: Mozilla 4.05 [en]C-PBI-NC404 (Win95; U)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: using make2
Lines: 21
Date: Mon, 06 Sep 1999 09:24:47 +0000
NNTP-Posting-Host: 207.214.148.92
X-Complaints-To: abuse AT pacbell DOT net
X-Trace: typhoon-sf.pbi.net 936634883 207.214.148.92 (Mon, 06 Sep 1999 09:21:23 PDT)
NNTP-Posting-Date: Mon, 06 Sep 1999 09:21:23 PDT
Organization: SBC Internet Services
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

thank you for responding.
I'll bet better at this with a little practice

the make file...
exp : date1.o emply1.o fig07_04.o
 gxx -o exp.exe date1.o emply1.o fig07_04.o

date1.o : date1.cpp date1.h
 g++ -o date1.cpp emply1.cpp fig07_04.cpp

emply1.o : emply1.cpp emply1.h date1.h
 g++ -o  emply1.cpp

fig07_04.o : fig07_04.cpp emply1.h
 g++ -o fig07_04.cpp

the whole error message...
g++ -o date1.cpp emply1.cpp fig07_04.cpp
make.exe: *** [date1.o] Error -1
why would it work only once?

- Raw text -


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