reorder makefile rules
This commit is contained in:
parent
303c603f36
commit
db6ede257c
16
Makefile
16
Makefile
|
@ -1,9 +1,17 @@
|
|||
# to build by hand export GO111MODULE=off
|
||||
# this makefile assumes you want to build in this directory
|
||||
# and are developing so it sets export GO111MODULE=off
|
||||
|
||||
all: build
|
||||
reset
|
||||
./autotypist
|
||||
|
||||
build:
|
||||
echo "build it!"
|
||||
@# copy the toolkits into the binary during debugging
|
||||
-rm resources/*.so
|
||||
cp -a ~/go/src/go.wit.com/toolkits/*.so resources/
|
||||
GO111MODULE=off go build -v -x
|
||||
|
||||
only-me: build
|
||||
reset
|
||||
./autotypist --only-me
|
||||
|
@ -21,12 +29,6 @@ gocui: build
|
|||
reset
|
||||
./autotypist --gui gocui >/tmp/autotypist.log 2>&1
|
||||
|
||||
build:
|
||||
echo "build it!"
|
||||
-rm resources/*.so
|
||||
cp -a ~/go/src/go.wit.com/toolkits/*.so resources/
|
||||
GO111MODULE=off go build -v -x
|
||||
|
||||
install:
|
||||
rm -f ~/go/src/go.wit.com/toolkits/*.so
|
||||
go install -v -x
|
||||
|
|
Loading…
Reference in New Issue