mirror of
https://github.com/CrispyPin/sinpin-vr.git
synced 2025-05-06 16:25:31 +02:00
refactor
This commit is contained in:
parent
809edb810e
commit
7ff9475174
11 changed files with 363 additions and 162 deletions
12
Makefile
12
Makefile
|
@ -1,7 +1,17 @@
|
|||
|
||||
# CC := g++
|
||||
CC := clang++
|
||||
LFLAGS := -lX11 -lXrandr -lglfw -lGL
|
||||
LIBS := openvr/libopenvr_api.so
|
||||
SRC := src/*.cpp
|
||||
OUT := ./overlay
|
||||
CPPFLAGS := -Wall -std=c++17 $(LFLAGS) $(LIBS) $(SRC) -o $(OUT)
|
||||
|
||||
build:
|
||||
g++ -Wall -lX11 -lXrandr -lglfw -lGL openvr/libopenvr_api.so src/*.cpp -o overlay
|
||||
$(CC) -g $(CPPFLAGS)
|
||||
|
||||
release:
|
||||
$(CC) $(CPPFLAGS)
|
||||
|
||||
run: build
|
||||
./overlay
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue