mirror of
https://github.com/Xevion/tcp-chat.git
synced 2025-12-06 05:16:45 -06:00
Create makefile for building executable
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal 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
|
||||||
Reference in New Issue
Block a user