diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 58 |
1 files changed, 6 insertions, 52 deletions
@@ -1,10 +1,10 @@ .PHONY: debian nocui gocui andlabs -all: - # reset - @echo - @echo This Requires working IPv6 - @echo +all: build debian + +build: nocui gocui andlabs + +notes: ifeq ($(GO111MODULE),) @echo @echo If you are compiling this here, you probably want to set GO111MODULE @@ -32,14 +32,6 @@ andlabs: # go build -C andlabs -v -buildmode=plugin -o ../andlabs.so make -C ../andlabs -something: -ifeq (,$(wildcard go.mod)) - go mod init gui - go mod tidy -endif - make clean - make plugins - build-dep: apt install -f libgtk-3-dev @@ -53,51 +45,13 @@ debian: dpkg-deb -c go-gui-toolkit*.deb -wit mirrors -examples: \ - all \ - examples-helloworld \ - examples-buttons \ - examples-console-ui-helloworld - -# this is the most basic one. This syntax should always work -examples-helloworld: - make -C examples/helloworld - -examples-buttons: - make -C examples/buttons - -examples-console-ui-helloworld: - make -C examples/console-ui-helloworld - -# sync repo to the github backup -# git remote add github [email protected]:witorg/gui.git -# git remote add github2 [email protected]:wit-go/gui.git -github: - git push origin master - git push origin devel - git push origin --tags - git push github master - git push github devel - git push github --tags - @echo - @echo check https://github.com/wit-go/gui - @echo - -redomod: - rm -f go.* - GO111MODULE= go mod init - GO111MODULE= go mod tidy - -doc: - godoc -v - goget: go get -v -t -u make -C toolkit/gocui goget make -C toolkit/andlabs goget clean: - rm -f *.so + rm -f ../*.so cd debian && make clean plugins: plugins-gocui plugins-andlabs |
