lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master ab38ad6 1/5: Add a 'show_env' makefile target


From: Greg Chicares
Subject: [lmi-commits] [lmi] master ab38ad6 1/5: Add a 'show_env' makefile target
Date: Fri, 31 May 2019 19:23:49 -0400 (EDT)

branch: master
commit ab38ad6c00b267fd72c76c0339c3678bf26f4172
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Add a 'show_env' makefile target
    
    Added a new target to display crucial variables in the environment of
    'make'.
---
 GNUmakefile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/GNUmakefile b/GNUmakefile
index 5860c46..65b6bfd 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -255,6 +255,20 @@ $(build_dir): $(gpl_files)
 
 
################################################################################
 
+# Display selected variables.
+
+.PHONY: show_env
+show_env:
+       @printf 'Internal make variables particular to lmi:\n\n'
+       @printf 'LMI_COMPILER = "%s"\n' "$(LMI_COMPILER)"
+       @printf 'LMI_TRIPLET  = "%s"\n' "$(LMI_TRIPLET)"
+       @printf 'coefficiency = "%s"\n' "$(coefficiency)"
+       @printf 'PATH         = "%s"\n' "$(PATH)"
+       @printf 'WINEPATH     = "%s"\n' "$(WINEPATH)"
+       @printf 'PERFORM      = "%s"\n' "$(PERFORM)"
+
+################################################################################
+
 # Datestamps. These are all UTC. Only the first has an explicit 'Z'
 # suffix, to avoid any ambiguity.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]