aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-16 10:38:24 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-16 10:38:24 -0700
commit3f7474df0645224ce61fedcd908028f41971189e (patch)
tree0bd98f69f9ba09ec9c1cb19fe0c96bf89d8b6ee6 /bin
parentfa25c8f3df6791727b9384c9b405c996ac68b8ab (diff)
fix: linking errors associated to linking bins against all dependencies. partitioned more explictly now
Diffstat (limited to 'bin')
-rwxr-xr-xbin/initmk9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/initmk b/bin/initmk
index 141764d..2ea018f 100755
--- a/bin/initmk
+++ b/bin/initmk
@@ -8,12 +8,12 @@ TEMPLATE = """include share/push.mk
# Iterate through subdirectory tree
# Local sources
-SRCS_$(d) := $(wildcard $(d)/*.c)
+SRCS_$(d) :=
LIBS_$(d) :=
BINS_$(d) :=
-TSTS_$(d) := $(wildcard $(d)/*_test.c:.c=.test)
+TSTS_$(d) :=
-include share/pop.mk
+include share/paths.mk
# Local rules
# $(LIBS_$(d)) = TCFLAGS :=
@@ -26,6 +26,9 @@ $(LIBS_$(d)): $(OBJS_$(d))
$(BINS_$(d)): $(OBJS_$(d))
$(LINK)
+$(UNTS_$(d)): $(TOBJS_$(d)) $(LIBS_$(d))
+ $(LINK)
+
include share/pop.mk"""
if __name__ == "__main__":