diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-16 10:38:24 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-16 10:38:24 -0700 |
commit | 3f7474df0645224ce61fedcd908028f41971189e (patch) | |
tree | 0bd98f69f9ba09ec9c1cb19fe0c96bf89d8b6ee6 /bin/initmk | |
parent | fa25c8f3df6791727b9384c9b405c996ac68b8ab (diff) |
fix: linking errors associated to linking bins against all dependencies. partitioned more explictly now
Diffstat (limited to 'bin/initmk')
-rwxr-xr-x | bin/initmk | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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__": |