Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

current directory makefile

mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path))))
 
PREVIOUS NEXT
Tagged: #current #directory #makefile
ADD COMMENT
Topic
Name
6+1 =