aboutsummaryrefslogtreecommitdiff
path: root/sys/rules.mk
blob: d7ca408afc5cbb49883dcb6448a497bc37b451c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# ---- Push on stack ----
SP 			   := $(SP).x
DIRSTACK_$(SP) := $(d)
d 			   := $(DIR)

# Iterate through subdirectory tree

DIR := $(d)/libc
include $(DIR)/rules.mk

DIR := $(d)/libn
include $(DIR)/rules.mk

DIR := $(d)/libbio
include $(DIR)/rules.mk

# ---- Pop off stack ----
d  := $(DIRSTACK_$(SP))
SP := $(basename $(SP))