diff --git a/third_party/raylib/setup.sh b/third_party/raylib/build.sh similarity index 73% rename from third_party/raylib/setup.sh rename to third_party/raylib/build.sh index de26735732..a9ada3c175 100755 --- a/third_party/raylib/setup.sh +++ b/third_party/raylib/build.sh @@ -37,10 +37,11 @@ git clean -xdff . cd src -make -j$(nproc) PLATFORM=$RAYLIB_PLATFORM -sudo make install RAYLIB_INSTALL_PATH=$INSTALL_DIR RAYLIB_H_INSTALL_PATH=$INSTALL_H_DIR +make -j$(nproc) PLATFORM=$RAYLIB_PLATFORM RAYLIB_RELEASE_PATH=$INSTALL_DIR +cp raylib.h raymath.h rlgl.h $INSTALL_H_DIR/ +echo "raylib development files installed/updated in $INSTALL_H_DIR" # this commit needs to be in line with raylib set -x RAYGUI_COMMIT="76b36b597edb70ffaf96f046076adc20d67e7827" -wget -O $INSTALL_H_DIR/raygui.h https://raw.githubusercontent.com/raysan5/raygui/$RAYGUI_COMMIT/src/raygui.h +curl -fsSLo $INSTALL_H_DIR/raygui.h https://raw.githubusercontent.com/raysan5/raygui/$RAYGUI_COMMIT/src/raygui.h