From 724c0f9c4d22781c43c27dd0c49b1290cf4a9d7e Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 12 Jun 2022 13:07:42 -0500 Subject: [PATCH] Create makefile for building executable --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6b6a5d1 --- /dev/null +++ b/Makefile @@ -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