Create makefile for building executable

This commit is contained in:
Xevion
2022-06-12 13:07:42 -05:00
parent 87003032f7
commit 724c0f9c4d

18
Makefile Normal file
View File

@@ -0,0 +1,18 @@
.DEFAULT_GOAL := build
.PHONY: build test clean clean-spec run-server run-client
run-server:
python launch.py s
run-client:
python launch.py c
build:
pyinstaller --onefile launch.py -n tcp-chat --clean
clean:
rm ./build/ -r
rm ./dist/ -r
clean-spec:
rm *.spec