"VSong" <[EMAIL PROTECTED]> wrote ...
>
> so what's the best way to ensure that a
> project has been made before executing 'make' in the current directory?
maybe ...
#----------------makefile-------------------
targets := target1 target2
.PHONY: all
all: $(targets)
$(targets):
@echo making \"[EMAIL PROTECTED]"
makefile: prerequisites_for_any_target
.PHONY: prerequisites_for_any_target
prerequisites_for_any_target:
@echo making \"prerequisites_for_any_target\" in a submake:
@echo \"$(MAKE) -f doesntexist\" ... try this one to simulate \
a failed \"prerequisites_for_any_target\"
#-----------------makefile------------------
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make