Skip to content

Commit

Permalink
Fix examples/others/rlgl_standalone.c compilation issue (#3242)
Browse files Browse the repository at this point in the history
  • Loading branch information
ubkp authored Aug 14, 2023
1 parent 7a1c0d2 commit e0afb89
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ ifeq ($(PLATFORM),PLATFORM_DRM)
INCLUDE_PATHS += -I/usr/include/libdrm
endif

# Include GLFW required for examples/others/rlgl_standalone.c
ifeq ($(USE_EXTERNAL_GLFW),FALSE)
all others: INCLUDE_PATHS += -I$(RAYLIB_PATH)/src/external/glfw/include
endif

# Define library paths containing required libs: LDFLAGS
#------------------------------------------------------------------------------------------------
LDFLAGS = -L. -L$(RAYLIB_RELEASE_PATH) -L$(RAYLIB_PATH)/src
Expand Down

0 comments on commit e0afb89

Please sign in to comment.