Mail Archives: djgpp/2000/11/04/11:00:21
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" <huttothomas AT hotmail DOT com> 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" <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 -