makefile add windows build

This commit is contained in:
2024-08-09 12:21:46 +02:00
parent 629dbf6bd3
commit 5d02181c02
3 changed files with 52 additions and 51 deletions

View File

@@ -1,7 +1,7 @@
#Works but is fucking big
#Single file version:
#pyinstaller lib/gui.py --onefile --add-data ./db/:./db
pypath := /home/ccppi2/.wine/drive_c/users/ccppi2/AppData/Local/Programs/Python/Python312/
all:gui cli datafiles
gui:
@@ -17,6 +17,7 @@ datafiles:
cp ./lib/conf dist/gui/
db-dir:
mkdir -p dist/db
wine-build:
wine64 $(pypath)/python.exe $(pypath)/Lib/site-packages/pyinstaller lib/gui.py
clean:
rm dist/db -r