help-make
[Top][All Lists]
Advanced

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

make misteriously removes the target objects after build ??


From: Jack Zhou
Subject: make misteriously removes the target objects after build ??
Date: Wed, 25 Jul 2001 07:18:34 -0700 (PDT)

Hi,

I am experiencing a strange problem.  Make sometimes
misteriously removes some target objects at the end of
build.  So the last line printed out by make is
something like:
"rm a".

In my makefile, the dependency is this:

b : a
    @do sth

c : b
    @do sth

In this case, both b and c are target objects.  But
sometimes at the end of the build, b will be deleted
by make, while it never deleted c.

I also noticed by deleting target object b (manually)
and issue a make, the make will build b then "rm b".
So in this condition I can never build a b.

What did I do wrong?  Thanks for your help.

Jack




__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



reply via email to

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