Noel Yap <[EMAIL PROTECTED]> writes: > Unless MAKEFILE_LIST is used before any other includes, using the trick > below doesn't work.
$ cat >makefile include foo.make include $(CURDIR)/bar.make $ cat >foo.make $ cat >bar.make $(warning $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))) $ /usr/bin/make --version GNU Make 3.80 $ /usr/bin/make /tmp/bar.make:1: /tmp/ make: *** No targets. Stop. Seems to work pretty well, huh? -boris
signature.asc
Description: Digital signature
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make