This repository has been archived on 2021-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
2020-01-10 21:02:33 +00:00
|
|
|
.PHONY: all clean linux windows android
|
|
|
|
all: clean linux windows android
|
2019-10-08 18:02:34 +00:00
|
|
|
default: linux
|
|
|
|
|
2020-01-10 21:02:33 +00:00
|
|
|
clean:
|
|
|
|
rm -r vendor || true
|
|
|
|
find -type f -iname "moc*" | xargs rm
|
|
|
|
find -iname "rcc*" | xargs rm
|
2019-10-08 18:02:34 +00:00
|
|
|
|
|
|
|
linux:
|
2020-01-10 21:02:33 +00:00
|
|
|
$(MAKE) linux_build || $(MAKE) linux_clean
|
2019-10-08 18:02:34 +00:00
|
|
|
|
2020-01-10 21:02:33 +00:00
|
|
|
windows:
|
|
|
|
$(MAKE) windows_build || $(MAKE) windows_clean
|
|
|
|
|
|
|
|
android:
|
|
|
|
$(MAKE) android_build || $(MAKE) android_clean
|
|
|
|
|
|
|
|
linux_build:
|
|
|
|
date
|
|
|
|
qtdeploy -qt_version "5.13.0" build linux 2>&1 | tee qtdeploy.log | pv
|
|
|
|
date
|
|
|
|
cp -R assets deploy/linux/
|
|
|
|
$(MAKE) linux_clean
|
|
|
|
|
|
|
|
linux_clean:
|
|
|
|
#ntd
|
|
|
|
|
|
|
|
windows_build:
|
|
|
|
date
|
|
|
|
qtdeploy -qt_version "5.13.0" build windows 2>&1 | tee qtdeploy.log | pv
|
|
|
|
date
|
|
|
|
cp -R assets deploy/windows/
|
|
|
|
$(MAKE) linux_clean
|
|
|
|
|
|
|
|
windows_clean:
|
|
|
|
#ntd
|
|
|
|
|
|
|
|
android_build:
|
|
|
|
mv assets android/
|
|
|
|
date
|
|
|
|
qtdeploy -docker build android 2>&1 | tee qtdeploy.log | pv
|
|
|
|
date
|
|
|
|
$(MAKE) android_clean
|
|
|
|
|
|
|
|
android_clean:
|
|
|
|
mv android/assets assets
|
2019-04-09 20:11:10 +00:00
|
|
|
|