From 170aa3df69a64544ef5fcc24ac22de1aa7303562 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 14 Sep 2024 12:43:57 -0400 Subject: build: Remove gen/deps.mk Since commit 3552b79 ("build/flags: Infrastructure to detect compiler flag support"), this file only listed a bunch of lines like -include obj/src/alloc.d -include obj/src/bar.d ... We can do that just as well from the main Makefile, and in one line too: -include ${OBJS:.o=.d} This lets us pull the list of all objects out of build/prelude.mk and put it closer to where those objects are actually used. --- build/deps.mk | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 build/deps.mk (limited to 'build/deps.mk') diff --git a/build/deps.mk b/build/deps.mk deleted file mode 100644 index b49e592..0000000 --- a/build/deps.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright © Tavian Barnes -# SPDX-License-Identifier: 0BSD - -# Makefile that generates gen/deps.mk - -include build/prelude.mk -include gen/vars.mk -include gen/flags.mk -include build/exports.mk - -gen/deps.mk:: - ${MSG} "[ GEN] $@" - @printf '# %s\n' "$@" >$@ - @printf -- '-include %s\n' ${OBJS:.o=.d} >>$@ - ${VCAT} $@ -- cgit v1.2.3