diff options
author | EuAndreh <eu@euandre.org> | 2024-08-11 08:19:39 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-08-11 08:19:39 -0300 |
commit | 2f531c582990ac991db9abbcacfa53db23febc1d (patch) | |
tree | 8c005fe4f1ff646325cb3b65d3ee9d5226fb9ac0 /Makefile | |
parent | Initial implementation: copy structure from "binder" project (diff) | |
download | untls-2f531c582990ac991db9abbcacfa53db23febc1d.tar.gz untls-2f531c582990ac991db9abbcacfa53db23febc1d.tar.xz |
Makefile: Simplify a bit compile rule
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -61,16 +61,14 @@ all: $(derived-assets) $(objects): Makefile src/$(NAME).a: src/$(NAME).go - go tool compile $(GOCFLAGS) -o $@ -p $(*F) $*.go +src/main.a: src/main.go src/$(NAME).a +tests/main.a: tests/main.go tests/$(NAME).a +src/$(NAME).a src/main.a tests/main.a: + go tool compile $(GOCFLAGS) -o $@ -p $(*F) -I $(@D) $*.go tests/$(NAME).a: tests/$(NAME).go src/$(NAME).go go tool compile $(GOCFLAGS) -o $@ -p $(*F) $*.go src/$(*F).go -src/main.a: src/main.go src/$(NAME).a -tests/main.a: tests/main.go tests/$(NAME).a -src/main.a tests/main.a: - go tool compile $(GOCFLAGS) -o $@ -I $(@D) $*.go - src/main.bin: src/main.a tests/main.bin: tests/main.a src/main.bin tests/main.bin: |