aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
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 ./...