Browse Source

Update Makefile

Ray 1 week ago
parent
commit
d8952958db
1 changed files with 2 additions and 3 deletions
  1. 2 3
      examples/Makefile

+ 2 - 3
examples/Makefile

@@ -493,6 +493,8 @@ ifeq ($(TARGET_PLATFORM),$(filter $(TARGET_PLATFORM),PLATFORM_WEB PLATFORM_WEB_R
     LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.web.a
     LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.web.a
 endif
 endif
 
 
+CURRENT_MAKEFILE = $(lastword $(MAKEFILE_LIST))
+
 # Define source code object files required
 # Define source code object files required
 #------------------------------------------------------------------------------------------------
 #------------------------------------------------------------------------------------------------
 #EXAMPLES_LIST_START
 #EXAMPLES_LIST_START
@@ -672,8 +674,6 @@ OTHERS = \
     others/rlgl_standalone
     others/rlgl_standalone
 #EXAMPLES_LIST_END
 #EXAMPLES_LIST_END
 
 
-CURRENT_MAKEFILE = $(lastword $(MAKEFILE_LIST))
-
 # Define processes to execute
 # Define processes to execute
 #------------------------------------------------------------------------------------------------
 #------------------------------------------------------------------------------------------------
 # Default target entry
 # Default target entry
@@ -687,7 +687,6 @@ models: $(MODELS)
 shaders: $(SHADERS)
 shaders: $(SHADERS)
 audio: $(AUDIO)
 audio: $(AUDIO)
 
 
-
 # Generic compilation pattern
 # Generic compilation pattern
 # NOTE: Examples must be ready for Android compilation!
 # NOTE: Examples must be ready for Android compilation!
 %: %.c
 %: %.c