sinpin-vr/Makefile

19 lines
360 B
Makefile
Raw Normal View History

2023-05-03 20:57:32 +02:00
VERSION=v0.2.2
CC := g++
# CC := clang++
2023-04-29 17:06:02 +02:00
LFLAGS := -lX11 -lXrandr -lXtst -lglfw -lGL
2023-04-13 21:45:21 +02:00
LIBS := openvr/libopenvr_api.so
SRC := src/*.cpp
2023-04-22 19:21:56 +02:00
OUT := ./sinpin_vr
2023-04-13 21:45:21 +02:00
CPPFLAGS := -Wall -std=c++17 $(LFLAGS) $(LIBS) $(SRC) -o $(OUT)
build:
2023-04-13 21:45:21 +02:00
$(CC) -g $(CPPFLAGS)
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
2023-04-22 19:21:56 +02:00
$(OUT)