diff options
author | SanJacobs | 2022-08-28 13:37:15 +0200 |
---|---|---|
committer | SanJacobs | 2022-08-28 13:37:15 +0200 |
commit | 79a43e96b36f452f1ab9917d0b4e195ed5baf936 (patch) | |
tree | 0272f00a91b5be1ea5ffb80620c205b1911ab83e | |
parent | 1775a5452f397b7d61e116ed21b14b5ca2dae167 (diff) | |
download | satscalc-79a43e96b36f452f1ab9917d0b4e195ed5baf936.tar.gz satscalc-79a43e96b36f452f1ab9917d0b4e195ed5baf936.tar.bz2 satscalc-79a43e96b36f452f1ab9917d0b4e195ed5baf936.zip |
Even comfier release building
-rw-r--r-- | makefile | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -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 |