From 3fd5755ed9dbea055ba032e4919de0e7feac03c0 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 8 Oct 2019 11:02:34 -0700 Subject: [PATCH] makefile updates with linux and android targets and go mod support --- Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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