aboutsummaryrefslogtreecommitdiff
path: root/sys/libbio/rules.mk
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 /sys/libbio/rules.mk
parentfa25c8f3df6791727b9384c9b405c996ac68b8ab (diff)
fix: linking errors associated to linking bins against all dependencies. partitioned more explictly now
Diffstat (limited to 'sys/libbio/rules.mk')
-rw-r--r--sys/libbio/rules.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/libbio/rules.mk b/sys/libbio/rules.mk
index cabc1b3..fdb4c74 100644
--- a/sys/libbio/rules.mk
+++ b/sys/libbio/rules.mk
@@ -5,10 +5,14 @@ DIR := $(d)/io
include $(DIR)/rules.mk
# Local sources
-SRCS_$(d) := $(wildcard $(d)/*.c)
+SRCS_$(d) := \
+ $(d)/align.c \
+ $(d)/phylo.c
LIBS_$(d) := $(d)/libbio.a
BINS_$(d) :=
-TSTS_$(d) := $(d)/test $(d)/simulate
+TSTS_$(d) := \
+ $(d)/test.c \
+ $(d)/simulate.c
include share/paths.mk
@@ -20,7 +24,8 @@ include share/paths.mk
$(LIBS_$(d)): $(OBJS_$(d)) $(OBJS_$(d)/io)
$(ARCHIVE)
-$(TSTS_$(d)): $(LIBS_$(d)) $(OBJ_DIR)/libn/libn.a
+$(UNTS_$(d)): TCLIBS := $(LIBS_$(d)) $(OBJ_DIR)/libn/libn.a
+$(UNTS_$(d)): $(TOBJS_$(d)) $(TCLIBS)
$(LINK)
include share/pop.mk