From: Boon van der RJ Newsgroups: comp.os.msdos.djgpp Subject: Re: using make2 Date: Mon, 6 Sep 1999 22:25:46 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 29 Message-ID: <7r1f1a$gq0@cs.vu.nl> References: <37D3885F DOT AC003BA2 AT postoffice DOT pacbell DOT net> NNTP-Posting-Host: galjas.cs.vu.nl User-Agent: tin/pre-1.4-19990413 ("Endemoniada") (UNIX) (SunOS/5.5.1 (sun4u)) X-Poster-Key: sha1:nkXOqzY7A4JEb85GHfUf5UWUyPE= Cancel-Lock: sha1:Pww+p+DnaTnmgVCMP8gZwkewJLA= To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com arrel AT postoffice DOT pacbell DOT net wrote: > 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? It didn't even work once ;-). Make first display it's command-line, and then tries to execute it. Have you tried to find a g++ in your PATH somewhere. (It will probably not be there, so change g++ to gcc in your makefile.) hope to help, Robert.