diff --git a/Makefile b/Makefile index 60504756..96ffb095 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,19 @@ -all: +.PHONY: linux android -default: all +default: linux + +all: clean linux android + +linux: + go mod download + qtdeploy build linux | pv + +android: + go mod download + go mod vendor + qtdeploy -docker build android | pv clean: + rm -r vendor || true find -iname "moc*" | xargs rm find -iname "rcc*" | xargs rm