From 5f773e2d4d893d37a3cf471d5144a0e9e5b03ed5 Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Sat, 22 Apr 2023 20:02:09 +0200 Subject: [PATCH] add release to makefile --- .gitignore | 1 + Makefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f1bf125..0aeec18 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ sinpin_vr .vscode/ +*.zip diff --git a/Makefile b/Makefile index f92c71e..45b2cd1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ - +VERSION=v0.1.0 # CC := g++ CC := clang++ LFLAGS := -lX11 -lXrandr -lglfw -lGL @@ -10,8 +10,8 @@ CPPFLAGS := -Wall -std=c++17 $(LFLAGS) $(LIBS) $(SRC) -o $(OUT) build: $(CC) -g $(CPPFLAGS) -release: - $(CC) $(CPPFLAGS) +release: build + zip -r sinpin_vr-$(VERSION).zip sinpin_vr bindings openvr/libopenvr_api.so run: build $(OUT)