diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-05-26 23:30:28 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-05-26 23:30:28 -0400 |
commit | 397181df7c7372bdf4897296dabe386fa4212ea8 (patch) | |
tree | d07bfd677de2511c478f2a1e41c68914236914ab /Makefile | |
parent | 7e92bc9d00db4bb35b491881f54484b24d3ed97d (diff) | |
download | bfs-397181df7c7372bdf4897296dabe386fa4212ea8.tar.xz |
build: Use $^ instead of ${.ALLSRC}
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -92,7 +92,7 @@ OBJS += obj/src/main.o ${BINS}: @${MKDIR} ${@D} - +${MSG} "[ LD ] $@" ${CC} ${_CFLAGS} ${_LDFLAGS} ${.ALLSRC} ${_LDLIBS} -o $@ + +${MSG} "[ LD ] $@" ${CC} ${_CFLAGS} ${_LDFLAGS} $^ ${_LDLIBS} -o $@ ${POSTLINK} # Get the .c file for a .o file @@ -105,7 +105,7 @@ gen/version.i.new:: .SILENT: gen/version.i.new gen/version.i: gen/version.i.new - test -e $@ && cmp -s $@ ${.ALLSRC} && ${RM} ${.ALLSRC} || mv ${.ALLSRC} $@ + test -e $@ && cmp -s $@ $^ && ${RM} $^ || mv $^ $@ .SILENT: gen/version.i obj/src/version.o: gen/version.i |