Skip to content

Instantly share code, notes, and snippets.

@sanjuchopracool
sanjuchopracool / Makefile
Created June 25, 2023 11:29 — forked from RobotixBC/Makefile
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