aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2024-09-28 03:26:58 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2024-09-28 03:26:58 -0400
commit2df8b9bf6448d3a64aaeacf455d0820ce9c8c333 (patch)
treeb8f8e3e244f8f19dadd3e3d35e877bccfe7736e6 /Makefile
parentd93bf6e3f52664c7782b14de54d606b5450d1866 (diff)
Update makefile and readme
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 4a0b608..c17c688 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,21 @@
-.PHONY: all
-all:
+FILES:= $(wildcard */*.go) $(wildcard *.go)
+
+.PHONY: all tidy clean test info
+
+all: build
+
+build: $(FILES)
go build
-.PHONY: tidy
tidy:
go mod tidy
-.PHONY: clean
clean: tidy
rm ./bingo-factory
-.PHONY: test
test:
go test ./...
+
+.PHONY: info
+info:
+ @echo "FILES: $(FILES)"