diff options
author | EuAndreh <eu@euandre.org> | 2024-10-19 17:33:31 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-10-19 17:33:31 -0300 |
commit | eb1b8c08fbc783abdbcca9892a3d880bf40f51be (patch) | |
tree | 17a8f1ad225e13d288df2a13d0fe99d97b2eec1e | |
parent | src/scrypt.go: Create HashInput and CheckInput for named arguments (diff) | |
download | scrypt-eb1b8c08fbc783abdbcca9892a3d880bf40f51be.tar.gz scrypt-eb1b8c08fbc783abdbcca9892a3d880bf40f51be.tar.xz |
Makefile: Normalize .go.a: .SUFFIXES rule
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -30,7 +30,9 @@ GOLDFLAGS = -L $(GOLIBDIR) $(CC) $(CFLAGS) -o $@ -c $< .go.a: - go tool compile $(GOCFLAGS) -I $(@D) -o $@ -p $(*F) $< + go tool compile $(GOCFLAGS) -I $(@D) -o $@ -p $(*F) \ + `find $< $$(if [ $(*F) != main ]; then \ + echo src/$(NAME).go src/version.go; fi) | uniq` .a.bin: go tool link $(GOLDFLAGS) -L $(@D) -o $@ --extldflags '$(LDLIBS)' $< |