summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-10 11:22:08 -0600
committerJeff Carr <[email protected]>2025-01-10 11:22:08 -0600
commitd36344e463e80d89d0cc8b028b6243823d184b35 (patch)
treeea8c4c78907420631476fd5061500d896cded87b /Makefile
parente07c6a35fd5d2ca1b3a6c09d9781d21f676f52f2 (diff)
make seperate find and sort files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ffdafa2..be9856e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
-full: install clean auto goimports vet build test
+simple: build
+ make -C example simple goimports vet
+
+full: install clean auto goimports vet build test install
@echo everything worked and the example ran
test: goimports build test
@@ -17,7 +20,7 @@ recover:
make goimports
make build
-build:
+build: goimports
GO111MODULE=off go build \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
# autogen uses autogen to build. keep a working copy somewhere