summaryrefslogtreecommitdiffstats
path: root/config/pkg.mk
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-25 12:01:40 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-25 12:07:57 -0400
commit339c20aea74d5b4c6b8b178b478cc5530bc9af79 (patch)
treee0e856ca7dbf97ea1bfe95e0adc605acb5fc127c /config/pkg.mk
parent19189e3f6f18b13e4f9c947c99062e658e98827d (diff)
downloadbfs-339c20aea74d5b4c6b8b178b478cc5530bc9af79.tar.xz
config: Add BFS_USE_LIB* to config.h instead of CPPFLAGS
Diffstat (limited to 'config/pkg.mk')
-rw-r--r--config/pkg.mk23
1 files changed, 0 insertions, 23 deletions
diff --git a/config/pkg.mk b/config/pkg.mk
deleted file mode 100644
index fafe562..0000000
--- a/config/pkg.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright © Tavian Barnes <tavianator@tavianator.com>
-# SPDX-License-Identifier: 0BSD
-
-# Makefile that generates gen/lib*.mk
-
-include config/prelude.mk
-include ${GEN}/vars.mk
-include ${GEN}/flags.mk
-include config/exports.mk
-
-# Like ${TGT} but for ${TARGET}, not $@
-SHORT = ${TARGET:${BUILDDIR}/%=%}
-
-default::
- @printf '# %s\n' "${SHORT}" >${TARGET}
- config/pkg.sh ${TARGET:${GEN}/%.mk=%} >>${TARGET} 2>${TARGET}.log
- @if [ "${IS_V}" ]; then \
- cat ${TARGET}; \
- elif grep -q PKGS ${TARGET}; then \
- printf '[ GEN] %-${MSG_WIDTH}s ✔\n' ${SHORT}; \
- else \
- printf '[ GEN] %-${MSG_WIDTH}s ✘\n' ${SHORT}; \
- fi