This commit is contained in:
Crispy 2023-11-22 17:58:36 +01:00
commit f9735a9946
7 changed files with 5719 additions and 0 deletions

13
Makefile Normal file
View file

@ -0,0 +1,13 @@
VERSION := 1.0.0
CXX := g++
TARGET := ./vr_status
LFLAGS := -Wl,-rpath,'$$ORIGIN' -L. -lopenvr_api
build:
$(CXX) src/main.cpp $(CPPFLAGS) $(LFLAGS) -o $(TARGET)
release: build
mkdir -p steamvr-status
cp -f libopenvr_api.so steamvr-status
cp -f $(TARGET) steamvr-status
tar -caf steamvr-status-$(VERSION).tar.xz steamvr-status