Created
March 30, 2023 11:08
-
-
Save epcim/02800b5a4416e5494f60049fa6dd4299 to your computer and use it in GitHub Desktop.
Revisions
-
epcim created this gist
Mar 30, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ scenarios: `TMPDIR=new/path make` and `make TMPDIR=new/path` ``` SHELL := env TMPDIR=$(TMPDIR) $(SHELL) TMPDIR ?= "/tmp" all: @echo $(TMPDIR) ``` ``` TMPDIR := "/tmp" ifdef $$TMPDIR TMPDIR := $$TMPDIR endif test: echo $(TMPDIR) ```