www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/04/09:00:24

From: "Paulo J. Matos aka PDestroy" <pdestroy AT netcabo DOT pt>
Newsgroups: comp.os.msdos.djgpp
Subject: No rule to make file?
Date: Sat, 4 Nov 2000 13:44:57 -0000
Lines: 44
Message-ID: <8u13u0$7bo$1@venus.telepac.pt>
NNTP-Posting-Host: 212.113.180.252
X-Trace: venus.telepac.pt 973345536 7544 212.113.180.252 (4 Nov 2000 13:45:36 GMT)
X-Complaints-To: abuse AT mail DOT telepac DOT pt
NNTP-Posting-Date: 4 Nov 2000 13:45:36 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

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.


- Raw text -


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