diff options
| author | Jeff Carr <[email protected]> | 2024-11-07 13:18:26 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-07 13:18:26 -0600 |
| commit | 3203dfbb0ed5bffa9629e3755a562a40874d57ca (patch) | |
| tree | fbb7660c18b09b7eddb592a17b75eb8269acae9c /Makefile | |
| parent | 3be66547650097174b3e8aaf533cbee187f6bde9 (diff) | |
add standard argvv0.21.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,15 +1,14 @@ +VERSION = $(shell git describe --tags) + +all: all: build reset ./basicwindow build: -ifeq ($(GO111MODULE),) - echo no. you must use GO111MODULE to build here - false -else -rm -f basicwindow - go build -v -x -endif + GO111MODULE=off go build -v -x \ + -ldflags "-X main.VERSION=${VERSION}" stderr: build echo "writing to /tmp/basicwindow.out" |
