summaryrefslogtreecommitdiffstats
path: root/build/header.mk
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-05-26 23:30:28 -0400
committerTavian Barnes <tavianator@tavianator.com>2025-05-26 23:30:28 -0400
commit397181df7c7372bdf4897296dabe386fa4212ea8 (patch)
treed07bfd677de2511c478f2a1e41c68914236914ab /build/header.mk
parent7e92bc9d00db4bb35b491881f54484b24d3ed97d (diff)
downloadbfs-397181df7c7372bdf4897296dabe386fa4212ea8.tar.xz
build: Use $^ instead of ${.ALLSRC}
Diffstat (limited to 'build/header.mk')
-rw-r--r--build/header.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/header.mk b/build/header.mk
index 13672ba..f15829a 100644
--- a/build/header.mk
+++ b/build/header.mk
@@ -70,9 +70,9 @@ gen/config.h: ${PKG_HEADERS} ${HEADERS}
@printf '// %s\n' "$@" >$@
@printf '#ifndef BFS_CONFIG_H\n' >>$@
@printf '#define BFS_CONFIG_H\n' >>$@
- @cat ${.ALLSRC} >>$@
+ @cat $^ >>$@
@printf '#endif // BFS_CONFIG_H\n' >>$@
- @cat gen/flags.log ${.ALLSRC:%=%.log} >gen/config.log
+ @cat gen/flags.log ${^:%=%.log} >gen/config.log
${VCAT} $@
@printf '%s' "$$CONFFLAGS" | build/embed.sh >gen/confflags.i
@printf '%s' "$$XCC" | build/embed.sh >gen/cc.i