makefile, default tree path.

This commit is contained in:
Norayr Chilingarian 2024-01-15 21:39:37 +04:00
parent 2c598e394f
commit e26040431f
3 changed files with 70 additions and 59 deletions

View file

@ -3,6 +3,8 @@ DEPEND = github.com/norayr/lists github.com/norayr/Internet github.com/norayr/op
VOC = /opt/voc/bin/voc
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
mkfile_dir_path := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
$(info $$mkfile_path is [${mkfile_path}])
$(info $$mkfile_dir_path is [${mkfile_dir_path}])
ifndef BUILD
BUILD="build"
endif