[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master a1f942f4 3/4: Document a pitfall
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master a1f942f4 3/4: Document a pitfall |
Date: |
Mon, 20 Mar 2023 18:19:36 -0400 (EDT) |
branch: master
commit a1f942f434986fce87cd622cb5a697b8ee4395eb
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Document a pitfall
Including a makefile appends its name to $(MAKEFILE_LIST).
---
workhorse.make | 2 ++
1 file changed, 2 insertions(+)
diff --git a/workhorse.make b/workhorse.make
index 2bcb3a05..09ef7f94 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -19,6 +19,8 @@
# email: <gchicares@sbcglobal.net>
# snail: Chicares, 186 Belle Woods Drive, Glastonbury CT 06033, USA
+# Imperatively assign this value before including any other makefile.
+
this_makefile := $(abspath $(lastword $(MAKEFILE_LIST)))
################################################################################