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.
 
 
 
 
 

14 lines
304 B

  1. # Included at the top of each subdirectory Makefile, immediately
  2. # following the local re-definition of DIRNAME
  3. # Push the previous directory onto the 'stack'
  4. sp := $(sp).x
  5. dirstack_$(sp) := $(d)
  6. # Update $(d) to be the current directory
  7. ifneq (,$(d))
  8. d := $(d)/$(DIRNAME)
  9. else
  10. d := $(DIRNAME)
  11. endif