From: "Paulo J. Matos aka PDestroy" Newsgroups: comp.os.msdos.djgpp Subject: Re: No rule to make file? Date: Sat, 4 Nov 2000 15:37:49 -0000 Lines: 82 Message-ID: <8u1ahj$ccs$1@venus.telepac.pt> References: <8u13u0$7bo$1 AT venus DOT telepac DOT pt> NNTP-Posting-Host: 212.113.180.252 X-Trace: venus.telepac.pt 973352307 12700 212.113.180.252 (4 Nov 2000 15:38:27 GMT) X-Complaints-To: abuse AT mail DOT telepac DOT pt NNTP-Posting-Date: 4 Nov 2000 15:38:27 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I don't have time write now to read all that. Can you please tell me what's wrong? It must be simple but I really don't know... Best regards, -- Paulo J. Matos aka PDestroy http://www.pdestroy.net ICQ UIN - 361853 -- In my egotistical opinion, most people's C programs should be indented six feet downward and covered with dirt. - Houghton, Blair P. "Tom Hutto" wrote in message news:OE7pAOAkK5LqN33HFnw000003d7 AT hotmail DOT com... > info make > and read about .PHONY and implicit rules > > ----- Original Message ----- > From: "Paulo J. Matos aka PDestroy" > Newsgroups: comp.os.msdos.djgpp > To: > Sent: Saturday, November 04, 2000 7:44 AM > Subject: No rule to make file? > > > | Hi, > | > | I'm having a problem in compiling something. I have a relatively big > project > | with some files to compile. > | One of the classes I have is a C++ template so the extension is > lists.hpp > | and the header is lists.h. > | I have a makefile like the following: > | ----------------- > | COBJS = x.o y.o z.o h.o p.o lists.o main.o > | PROGS = b.exe > | FLAGS = -g -Wall > | CC = gpp > | > | all: $(PROGS) > | > | banco.exe: $(COBJS) > | $(CC) $(FLAGS) -o $(PROGS) $(COBJS) > | > | clear: > | rm -f *.o > | rm -f $(PROGS) > | > | depend: > | makedepend *.cpp > | ----------- > | When I try to compile the project doing make I get a problem that > says: > | make.exe: *** No rule to make target `lists.o', needed by `b.exe'. > Stop. > | > | Any idea on how to solve this would be great, thanks... > | > | Best regards, > | > | > | -- > | Paulo J. Matos aka PDestroy > | http://www.pdestroy.net > | ICQ UIN - 361853 > | > | -- > | In my egotistical opinion, most people's C programs should be indented > six > | feet downward and covered with dirt. > | - Houghton, Blair P. > | > | > | >