aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2025-07-22 15:41:03 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2025-07-22 15:41:03 -0400
commit344c6526a8d6f490fc7628ddc7d2dd06ed1a07c1 (patch)
tree342878ff5d77b557533d6e5473e1d8f6e79ac6e9 /makefile
parentfaf35ef54885bc48b897508ce3cb40b868ff505b (diff)
Separate program entry point from commands
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index c778a21..718df92 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,5 @@
BINS := atlas
-SRC := $(wildcard cmd/*.go) $(wildcard pkg/*/*.go)
+SRC := main.go $(wildcard cmd/*.go) $(wildcard pkg/*/*.go)
INSTALL_PATH := ~/.local/bin
.PHONY: all install uninstall test info clean
@@ -7,7 +7,7 @@ INSTALL_PATH := ~/.local/bin
all: $(BINS)
atlas: $(SRC)
- go build -o $@ $(wildcard ./cmd/*.go)
+ go build -o $@ $<
test:
go test ./...