diff options
| author | Jeff Carr <[email protected]> | 2024-12-06 01:52:07 -0600 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-06 01:52:07 -0600 | 
| commit | c4e48c6403936c7f5d1f60d590fc3a91fecdc83d (patch) | |
| tree | 65df5bfe0974bbcbd8db8a584aa48da28ad80e3b | |
| parent | 4a36e0300b6933c94a7f0e556949f993f4ba6b41 (diff) | |
| -rw-r--r-- | Makefile | 6 | 
1 files changed, 4 insertions, 2 deletions
@@ -9,10 +9,12 @@ nocui.so:  		-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"  install: clean -	go build -buildmode=plugin -o ~/go/lib/nocui-${VERSION}.so +	go build -buildmode=plugin -o ~/go/lib/nocui-${VERSION}.so \ +		-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +	cd ~/go/lib && ln -f -s nocui-${VERSION}.so nocui.so  clean: -	rm -f nocui.so +	rm -f nocui nocui.so  check-git-clean:  	@git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)  | 
