CFLAGS = $(shell pkg-config --cflags glfw3) LDFLAGS = $(shell pkg-config --static --libs glfw3) -lGL -lGLEW all: game run: game #./game vblank_mode=0 optirun ./game game: *.c *.h gcc -o game *.c $(LDFLAGS) clean: rm -f game