sinpin-vr/Makefile

19 lines
384 B
Makefile
Raw Normal View History

2023-05-03 20:57:32 +02:00
VERSION=v0.2.2
CXX := g++
# CXX := clang++
CPPFLAGS := -g -Wall -std=c++17
2023-04-29 17:06:02 +02:00
LFLAGS := -lX11 -lXrandr -lXtst -lglfw -lGL
OVR := -Lopenvr -lopenvr_api
TARGET := ./sinpin_vr
build:
$(CXX) src/*.cpp $(CPPFLAGS) $(LFLAGS) -Wl,-rpath,'$$ORIGIN/openvr' $(OVR) -o $(TARGET)
2023-04-13 21:45:21 +02:00
2023-04-22 20:02:09 +02:00
release: build
zip -r sinpin_vr-$(VERSION).zip sinpin_vr bindings openvr/libopenvr_api.so
run: build
$(TARGET)