Browse Source

Update Makefile

raysan5 4 years ago
parent
commit
246798a0ba
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Makefile

+ 2 - 2
src/Makefile

@@ -77,7 +77,7 @@ RAYLIB_MODULE_RAYGUI ?= FALSE
 RAYLIB_MODULE_PHYSAC ?= FALSE
 RAYLIB_MODULE_PHYSAC ?= FALSE
 
 
 RAYLIB_MODULE_RAYGUI_PATH ?= $(RAYLIB_SRC_PATH)/../../raygui/src
 RAYLIB_MODULE_RAYGUI_PATH ?= $(RAYLIB_SRC_PATH)/../../raygui/src
-RAYLIB_MODULE_PHYSAC_PATH ?= $(RAYLIB_SRC_PATH)
+RAYLIB_MODULE_PHYSAC_PATH ?= $(RAYLIB_SRC_PATH)/extras
 
 
 # Use external GLFW library instead of rglfw module
 # Use external GLFW library instead of rglfw module
 # TODO: Review usage of examples on Linux.
 # TODO: Review usage of examples on Linux.
@@ -650,7 +650,7 @@ ifeq ($(ROOT),root)
 		cp --update raylib.h $(RAYLIB_H_INSTALL_PATH)/raylib.h
 		cp --update raylib.h $(RAYLIB_H_INSTALL_PATH)/raylib.h
 		cp --update raymath.h $(RAYLIB_H_INSTALL_PATH)/raymath.h
 		cp --update raymath.h $(RAYLIB_H_INSTALL_PATH)/raymath.h
 		cp --update rlgl.h $(RAYLIB_H_INSTALL_PATH)/rlgl.h
 		cp --update rlgl.h $(RAYLIB_H_INSTALL_PATH)/rlgl.h
-		cp --update physac.h $(RAYLIB_H_INSTALL_PATH)/physac.h
+		cp --update extras/physac.h $(RAYLIB_H_INSTALL_PATH)/physac.h
 		@echo "raylib development files installed/updated!"
 		@echo "raylib development files installed/updated!"
     else
     else
 		@echo "This function currently works on GNU/Linux systems. Add yours today (^;"
 		@echo "This function currently works on GNU/Linux systems. Add yours today (^;"