diff options
| author | Jeff Carr <[email protected]> | 2024-12-05 19:15:55 -0600 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-05 19:15:55 -0600 | 
| commit | 4a36e0300b6933c94a7f0e556949f993f4ba6b41 (patch) | |
| tree | 51d4bd2914cb91ce491938c171ba27c9100ae81d | |
| parent | 3125ca435de060fe20f3cc33e8fc93ac10c5fe97 (diff) | |
clean build rulesv0.22.7
| -rw-r--r-- | Makefile | 16 | 
1 files changed, 10 insertions, 6 deletions
@@ -1,15 +1,19 @@  VERSION = $(shell git describe --tags) +BUILDTIME = $(shell date +%Y.%m.%d) -all: plugin -	ldd ../nocui.so +all:nocui.so +	@#ldd nocui.so -plugin: -	GO111MODULE=off go build -buildmode=plugin -o nocui.so +nocui.so: +	GO111MODULE=off go build -v  -buildmode=plugin -o nocui.so \ +		-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" -install: -	rm -f nocui.so +install: clean  	go build -buildmode=plugin -o ~/go/lib/nocui-${VERSION}.so +clean: +	rm -f nocui.so +  check-git-clean:  	@git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)  | 
