Re: Problem with Make

From: Mike Stilson (mike@velgarian.sytes.net)
Date: 08/26/02


On Mon, Aug 26, 2002 at 04:04:14PM -0700, Clinton Davis wrote:
>Have you checked the makefile for it's rules/pointers to see if they're
>actually pointing to something? *knows this sounds dumb, but he's seen
>it happen* I.E. for make circle it'd look something like
>
>circle:
>        $(MAKE) $(BINDIR)/circle

Also, make sure you have something like:

default: circle

then a rule like above.

if "make circle" doesn't work and you have the rule Clinton mentioned,
then your makefile is definitely fux0red, and I'd really double-check
for ^M's floating around, although that doesn't quite sound like the
problem.

I'm assuming you have a functional knowledge of Makefile syntax and have
checked for obvious problems.

Also:  Have you manually edited Makefile?  What exactly DID you do
between when it worked and when it stopped working? (xfering it between
systems with whatever... scp, ftp, etc.  editing, reboot with any
notices from fsck, then forgot to check the makefile)?

make is VERY particular about the format and syntax of Makefile, but
this doesn't sound like a syntax problem, it sounds more like a line or
two got lost or edited...

check for the lines that start with "[word]:".  Those are your targets.
If "make [target]" whines then you've got something seriously wrong.


-me

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT