You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
304 B

# 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)
d := $(DIRNAME)