aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanJacobs2022-08-28 13:37:15 +0200
committerSanJacobs2022-08-28 13:37:15 +0200
commit79a43e96b36f452f1ab9917d0b4e195ed5baf936 (patch)
tree0272f00a91b5be1ea5ffb80620c205b1911ab83e
parent1775a5452f397b7d61e116ed21b14b5ca2dae167 (diff)
downloadsatscalc-79a43e96b36f452f1ab9917d0b4e195ed5baf936.tar.gz
satscalc-79a43e96b36f452f1ab9917d0b4e195ed5baf936.tar.bz2
satscalc-79a43e96b36f452f1ab9917d0b4e195ed5baf936.zip
Even comfier release building
-rw-r--r--makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/makefile b/makefile
index 0785786..5c9912f 100644
--- a/makefile
+++ b/makefile
@@ -47,13 +47,12 @@ mac:
zig c++ -target x86_64-macos-gnu src/*.cpp $(CVERSION) $(CFLAGS) -o $(NAME)
release:
- mkdir -p bin/linux
- make CFLAGS=-O2 NAME=bin/linux/$(NAME)-$(V)
- mkdir -p bin/mac
- make mac CFLAGS=-O2 NAME=bin/mac/$(NAME)-$(V)
- mkdir -p bin/windows
- make windows WINFLAGS="-O2 --static" NAME=bin/windows/$(NAME)-$(V)
- make windows32 WINFLAGS="-O2 --static" NAME=bin/windows/$(NAME)-$(V)-win32
+ mkdir -p bin
+ make CFLAGS=-O2 NAME=bin/$(NAME)-$(V)-linux
+ make mac CFLAGS=-O2 NAME=bin/$(NAME)-$(V)-macOS
+ make windows WINFLAGS="-O2 --static" NAME=bin/$(NAME)-$(V)-win64
+ make windows32 WINFLAGS="-O2 --static" NAME=bin/$(NAME)-$(V)-win32
+ chmod +x bin/*
clean:
rm -f obj/*.o