triangle-es2-demo/Makefile

19 lines
297 B
Makefile

compile: build
cmake --build build
build:
mkdir build
cmake -B build
x11: compile
sudo DISPLAY=:0 ./build/bin/TriangleEsX11Demo
gbm: compile
sudo ./build/bin/TriangleEsDemo
gbm-1: compile
sudo ./build/bin/TriangleEsDemo --conn=1
gbm-2: compile
sudo ./build/bin/TriangleEsDemo --conn=2