diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-17 12:39:59 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-17 12:42:43 -0400 |
commit | 10f665bd0ea6954fce620325aeeecb5e869f7479 (patch) | |
tree | ff856092a507165f1b0a129b57b23320285d114a /config | |
parent | 9f1107cf041d44e79f566f41fc117321fb42881f (diff) | |
download | bfs-10f665bd0ea6954fce620325aeeecb5e869f7479.tar.xz |
config: Delete gen/objs.mk
Rather than explicitly listing all these dependencies, we can rely on
DEPFLAGS to generate them for us.
Diffstat (limited to 'config')
-rw-r--r-- | config/config.mk | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/config/config.mk b/config/config.mk index 4771a5e..bfcb559 100644 --- a/config/config.mk +++ b/config/config.mk @@ -11,7 +11,6 @@ MKS := \ ${GEN}/vars.mk \ ${GEN}/flags.mk \ ${GEN}/deps.mk \ - ${GEN}/objs.mk \ ${GEN}/pkgs.mk # The main configuration file, which includes the others @@ -50,15 +49,6 @@ ${GEN}/deps.mk: ${GEN}/flags.mk @+${MAKE} -sf config/deps.mk .PHONY: ${GEN}/deps.mk -# Lists file.o: file.c dependencies -${GEN}/objs.mk:: - @${MKDIR} ${@D} - ${MSG} "[ GEN] ${TGT}" - @printf '# %s\n' "${TGT}" >$@ - @for obj in ${OBJS:${OBJ}/%.o=%}; do \ - printf '$${OBJ}/%s.o: %s.c\n' "$$obj" "$$obj"; \ - done | sed 's|: gen/|: $${GEN}/|' >>$@ - # External dependencies PKG_MKS := \ ${GEN}/libacl.mk \ |