On 2006-1-28 20:50 UTC, Morten Gulbrandsen wrote: ['inc.mk' contains a target]
> cat Makefile
+ .PHONY: all
+ all: effective_default_target
name1 := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
include inc.mk
name2 := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
- all:
+ effective_default_target:
@echo name1 = $(name1)
@echo name2 = $(name2)
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make
