add release to makefile

This commit is contained in:
Crispy 2023-04-22 20:02:09 +02:00
parent 1f25d2465c
commit 5f773e2d4d
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
sinpin_vr
.vscode/
*.zip

View file

@ -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)