help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmake error: No rule to make target lib_file.a


From: main13
Subject: Re: gmake error: No rule to make target lib_file.a
Date: Fri, 9 May 2008 05:25:50 -0700 (PDT)
User-agent: G2/1.0

> You provide dependencies in the Makefile.  That's what it's for.  The
> entries there mostly specify dependencies and rules for bringing a target
> up to date.  For example, if your Makefile has
>
> foo.o:          foo.c
>         ${CC} ${CFLAGS} -c $< -o $@
>
> that means that foo.o depends on foo.c, and if foo.c is newer than foo.o
> (or if foo.o does not exist), then the rule that is provided on the next
> line is used to bring foo.o up to date.

> What messages do you get when you run the "make"?  Most likely, the first
> error message is the important one, not the last one.
>
> Was the Makefile intended to work in a Windows environment, or does it
> assume a Unix/Linux platform?  In the latter case, there may be no easy
> solution.

I ported the project from VC++ to KDevelop. So there was nothing
common between the two projects except the source. So the makefiles
were generated by KDevelop hence they assume Linux since I've not
played with any of the default options.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]