mirror of
https://github.com/CrispyPin/sinpin-vr.git
synced 2024-11-10 04:20:25 +01:00
add release to makefile
This commit is contained in:
parent
1f25d2465c
commit
5f773e2d4d
2 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
sinpin_vr
|
||||
.vscode/
|
||||
*.zip
|
||||
|
|
6
Makefile
6
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)
|
||||
|
|
Loading…
Reference in a new issue