summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-17 12:39:59 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-17 12:42:43 -0400
commit10f665bd0ea6954fce620325aeeecb5e869f7479 (patch)
treeff856092a507165f1b0a129b57b23320285d114a /Makefile
parent9f1107cf041d44e79f566f41fc117321fb42881f (diff)
downloadbfs-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 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1d26d12..981c322 100644
--- a/Makefile
+++ b/Makefile
@@ -93,6 +93,8 @@ ${GEN}/version.c.new::
${GEN}/version.c: ${GEN}/version.c.new
@test -e $@ && cmp -s $@ ${.ALLSRC} && rm ${.ALLSRC} || mv ${.ALLSRC} $@
+${OBJ}/gen/version.o: ${GEN}/version.c
+
## Test phase (`make check`)
# Unit test binaries