From 3f7474df0645224ce61fedcd908028f41971189e Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sat, 16 May 2020 10:38:24 -0700 Subject: fix: linking errors associated to linking bins against all dependencies. partitioned more explictly now --- sys/libbio/rules.mk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'sys/libbio/rules.mk') 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 -- cgit v1.2.1