mirror of
https://github.com/CrispyPin/sinpin-vr.git
synced 2024-11-10 04:20:25 +01:00
18 lines
360 B
Makefile
18 lines
360 B
Makefile
VERSION=v0.2.1
|
|
# CC := g++
|
|
CC := clang++
|
|
LFLAGS := -lX11 -lXrandr -lXtst -lglfw -lGL
|
|
LIBS := openvr/libopenvr_api.so
|
|
SRC := src/*.cpp
|
|
OUT := ./sinpin_vr
|
|
CPPFLAGS := -Wall -std=c++17 $(LFLAGS) $(LIBS) $(SRC) -o $(OUT)
|
|
|
|
build:
|
|
$(CC) -g $(CPPFLAGS)
|
|
|
|
release: build
|
|
zip -r sinpin_vr-$(VERSION).zip sinpin_vr bindings openvr/libopenvr_api.so
|
|
|
|
run: build
|
|
$(OUT)
|
|
|