Skip to content

Instantly share code, notes, and snippets.

@RobotixBC
RobotixBC / Makefile
Created March 8, 2023 10:18
EGL + RLGL standalone
all: egltest
egltest: egltest.cpp
g++ -Wno-unused-variable -DDEBUG -g -O3 -Wall -Werror -I. -I../raylib-4.2.0/src -I/usr/include/libdrm -o $@ $^ -lOpenGL -lEGL -ldrm -lgbm -L../raylib-4.2.0/src -lraylib -lGL -lopenal -lm -lpthread -ldl -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor -lGLEW -lGLU
clean:
rm -f *.o egltest