sinpin-vr/Makefile

19 lines
277 B
Makefile
Raw Normal View History

2023-04-13 21:45:21 +02:00
# 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:
2023-04-13 21:45:21 +02:00
$(CC) -g $(CPPFLAGS)
release:
$(CC) $(CPPFLAGS)
run: build
./overlay