Update of bug #38827 (project make):
Status: None => Not A Bug
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
This is not a bug. By declaring dummyfolder to be a prerequisite of
my-main-rule, make must either build it or it must already exist. It doesn't
exist, and there's no rule to build it (make has no way to know that the
pre-build rule will create the dummyfolder target).
Further, although my-main-rule will not start until after pre-build and
dummyfolder are both built, there is nothing at all here that says that
dummyfolder can't start as soon as possible, before pre-build is complete. So
make tries to build dummyfolder and fails.
In general it's best if you never try to have rules do tricky things like
build targets which are not specifically declared in makefiles. However, the
bug tracker is not the best place for these kinds of discussions. Please
request assistance on the [email protected] mailing list.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38827>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make