Mail Archives: djgpp/2000/11/04/09:56:58
X-Originating-IP: | [24.27.76.111]
|
From: | "Tom Hutto" <huttothomas AT hotmail DOT com>
|
To: | <djgpp AT delorie DOT com>
|
References: | <8u13u0$7bo$1 AT venus DOT telepac DOT pt>
|
Subject: | Re: No rule to make file?
|
Date: | Sat, 4 Nov 2000 08:57:35 -0600
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400
|
Message-ID: | <OE7pAOAkK5LqN33HFnw000003d7@hotmail.com>
|
X-OriginalArrivalTime: | 04 Nov 2000 14:56:15.0881 (UTC) FILETIME=[61947F90:01C0466F]
|
Reply-To: | djgpp AT delorie DOT com
|
info make
and read about .PHONY and implicit rules
----- Original Message -----
From: "Paulo J. Matos aka PDestroy" <pdestroy AT netcabo DOT pt>
Newsgroups: comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
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.
|
|
|
- Raw text -