|
@ -12,7 +12,7 @@ all: |
|
|
cp -r "$(PROGRAM)" __main__.py engine qtgui build |
|
|
cp -r "$(PROGRAM)" __main__.py engine qtgui build |
|
|
#Clean all pycache in build |
|
|
#Clean all pycache in build |
|
|
cd build && find . -type d -name "__pycache__" -exec rm -r {} + |
|
|
cd build && find . -type d -name "__pycache__" -exec rm -r {} + |
|
|
python -m zipapp "build" --output="$(PROGRAM).bin" --python="/usr/bin/env python3" |
|
|
python3 -m zipapp "build" --output="$(PROGRAM).bin" --python="/usr/bin/env python3" |
|
|
rm build/compiledprefix.py |
|
|
rm build/compiledprefix.py |
|
|
|
|
|
|
|
|
#nsm-data |
|
|
#nsm-data |
|
@ -20,7 +20,7 @@ all: |
|
|
cp tools/nsm-data buildnsmdata/__main__.py |
|
|
cp tools/nsm-data buildnsmdata/__main__.py |
|
|
cp tools/nsmclient.py buildnsmdata/nsmclient.py |
|
|
cp tools/nsmclient.py buildnsmdata/nsmclient.py |
|
|
cd buildnsmdata && find . -type d -name "__pycache__" -exec rm -r {} + |
|
|
cd buildnsmdata && find . -type d -name "__pycache__" -exec rm -r {} + |
|
|
python -m zipapp "buildnsmdata" --output="nsm-data.bin" --python="/usr/bin/env python3" |
|
|
python3 -m zipapp "buildnsmdata" --output="nsm-data.bin" --python="/usr/bin/env python3" |
|
|
|
|
|
|
|
|
clean: |
|
|
clean: |
|
|
rm -rf build/ |
|
|
rm -rf build/ |
|
|