aboutsummaryrefslogtreecommitdiff
path: root/sys/rules.mk
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-15 12:11:57 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-15 12:11:57 -0700
commite881e80d6b793c2d29e472ae4b65bdf8e4363b87 (patch)
treeca81576f4da93de1a6571da9fc0aa2d08a3ac497 /sys/rules.mk
parent66eb918a13b6607cc7bb615350a0e26f3670cd54 (diff)
feat: testing directory to allow for easier tests of code
Diffstat (limited to 'sys/rules.mk')
-rw-r--r--sys/rules.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/rules.mk b/sys/rules.mk
index d7535a7..cfff9b7 100644
--- a/sys/rules.mk
+++ b/sys/rules.mk
@@ -1,7 +1,4 @@
-# ---- Push on stack ----
-SP := $(SP).x
-DIRSTACK_$(SP) := $(d)
-d := $(DIR)
+include share/push.mk
# Iterate through subdirectory tree
@@ -20,6 +17,4 @@ include $(DIR)/rules.mk
DIR := $(d)/cmd
include $(DIR)/rules.mk
-# ---- Pop off stack ----
-d := $(DIRSTACK_$(SP))
-SP := $(basename $(SP))
+include share/pop.mk