1
0
Форк 0
aedrix-kernel/header.mk

14 рядки
304 B
Makefile

# Included at the top of each subdirectory Makefile, immediately
# following the local re-definition of DIRNAME
# Push the previous directory onto the 'stack'
sp := $(sp).x
dirstack_$(sp) := $(d)
# Update $(d) to be the current directory
ifneq (,$(d))
d := $(d)/$(DIRNAME)
else
d := $(DIRNAME)
endif