From ee1d74027be6bb307c40603126254cb3473fe0ed Mon Sep 17 00:00:00 2001 From: Kostas Drakontidis Date: Fri, 25 Jul 2025 16:23:34 +0300 Subject: [PATCH] Added makefile --- client/frontend/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 client/frontend/Makefile diff --git a/client/frontend/Makefile b/client/frontend/Makefile new file mode 100644 index 0000000..e90dda7 --- /dev/null +++ b/client/frontend/Makefile @@ -0,0 +1,21 @@ +CC := electron-builder +BUILD := build_config/ + +all: clean tsc win linux darwin + +tsc: + npx tsc + +win: + npx $(CC) --$@ --x64 -c $(BUILD)electron_builder_$@.yml + +linux: + npx $(CC) --$@ --x64 -c $(BUILD)electron_builder_$@.yml + +darwin: + npx $(CC) --mac --x64 -c $(BUILD)electron_builder_$@_amd64.yml + npx $(CC) --mac --arm64 -c $(BUILD)electron_builder_$@_arm64.yml + +clean: + $(RM) -r out/ + $(RM) -r app/dist/