update raylib to 4.5

This commit is contained in:
Rokas Puzonas 2023-07-17 16:25:13 +03:00
parent feb10e3dd3
commit 9ae589e238
7 changed files with 11 additions and 12 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
include
lib
bin
.idea

8
.gitmodules vendored
View File

@ -1,6 +1,6 @@
[submodule "vendor/raylib-cpp"]
path = vendor/raylib-cpp
[submodule "depends/raylib-cpp"]
path = depends/raylib-cpp
url = https://github.com/robloach/raylib-cpp
[submodule "vendor/raylib"]
path = vendor/raylib
[submodule "depends/raylib"]
path = depends/raylib
url = https://github.com/raysan5/raylib

View File

@ -71,15 +71,15 @@ submodules:
# Copy the relevant header files into includes
include: submodules
$(MKDIR) $(call platformpth, ./include)
$(call COPY,vendor/raylib/src,./include,raylib.h)
$(call COPY,vendor/raylib/src,./include,raymath.h)
$(call COPY,vendor/raylib-cpp/include,./include,*.hpp)
$(call COPY,depends/raylib/src,./include,raylib.h)
$(call COPY,depends/raylib/src,./include,raymath.h)
$(call COPY,depends/raylib-cpp/include,./include,*.hpp)
# Build the raylib static library file and copy it into lib
lib: submodules
cd vendor/raylib/src $(THEN) "$(MAKE)" PLATFORM=PLATFORM_DESKTOP
cd depends/raylib/src $(THEN) "$(MAKE)" PLATFORM=PLATFORM_DESKTOP
$(MKDIR) $(call platformpth, lib/$(platform))
$(call COPY,vendor/raylib/$(libGenDir),lib/$(platform),libraylib.a)
$(call COPY,depends/raylib/src/$(libGenDir),lib/$(platform),libraylib.a)
# Link the program and create the executable
$(target): $(objects)

1
depends/raylib Submodule

@ -0,0 +1 @@
Subproject commit fec96137e8d10ee6c88914fbe5e5429c13ee1dac

1
depends/raylib-cpp Submodule

@ -0,0 +1 @@
Subproject commit 3f2b428211ad04b2a3acefd65a9621a116678108

1
vendor/raylib vendored

@ -1 +0,0 @@
Subproject commit 0851960397f02a477d80eda2239f90fae14dec64

1
vendor/raylib-cpp vendored

@ -1 +0,0 @@
Subproject commit a8f803edae6db67dafa1f84c1099f1bbc74925ef