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
|
sinpin_vr
|
||||||
.vscode/
|
.vscode/
|
||||||
|
*.zip
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -1,4 +1,4 @@
|
||||||
|
VERSION=v0.1.0
|
||||||
# CC := g++
|
# CC := g++
|
||||||
CC := clang++
|
CC := clang++
|
||||||
LFLAGS := -lX11 -lXrandr -lglfw -lGL
|
LFLAGS := -lX11 -lXrandr -lglfw -lGL
|
||||||
|
@ -10,8 +10,8 @@ CPPFLAGS := -Wall -std=c++17 $(LFLAGS) $(LIBS) $(SRC) -o $(OUT)
|
||||||
build:
|
build:
|
||||||
$(CC) -g $(CPPFLAGS)
|
$(CC) -g $(CPPFLAGS)
|
||||||
|
|
||||||
release:
|
release: build
|
||||||
$(CC) $(CPPFLAGS)
|
zip -r sinpin_vr-$(VERSION).zip sinpin_vr bindings openvr/libopenvr_api.so
|
||||||
|
|
||||||
run: build
|
run: build
|
||||||
$(OUT)
|
$(OUT)
|
||||||
|
|
Loading…
Reference in a new issue