summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-08-08 17:08:12 -0300
committerEuAndreh <eu@euandre.org>2024-08-08 17:08:12 -0300
commit273ec6dc29a8465d8b94fcc8bd2f708c82ae3249 (patch)
tree118bdda246647c5a912e9c40327592ce1aeb9581 /Makefile
parenttests/gobang.go: Add tests for most missing functions (diff)
downloadgobang-273ec6dc29a8465d8b94fcc8bd2f708c82ae3249.tar.gz
gobang-273ec6dc29a8465d8b94fcc8bd2f708c82ae3249.tar.xz
Makefile: Reorder deps rules
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4b6c643..d4906c3 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,8 @@ side-assets = \
all: $(derived-assets)
+$(objects): Makefile
+
src/$(NAME).a: src/$(NAME).go
go tool compile $(GOCFLAGS) -o $@ -p $(*F) $*.go
@@ -65,9 +67,6 @@ tests/$(NAME)_main.bin: tests/$(NAME)_main.a
go tool link $(GOLDFLAGS) -o $@ -L $(@D) $*.a
-$(objects): Makefile
-
-
tests.bin-check = \
tests/$(NAME)_main.bin/1 \