parent
449e777902
commit
f94865faa8
10
Makefile
10
Makefile
@ -71,15 +71,15 @@ submodules:
|
||||
# Copy the relevant header files into includes
|
||||
include: submodules
|
||||
$(MKDIR) $(call platformpth, ./include)
|
||||
$(call COPY,depends/raylib/src,./include,raylib.h)
|
||||
$(call COPY,depends/raylib/src,./include,raymath.h)
|
||||
$(call COPY,depends/raylib-cpp/include,./include,*.hpp)
|
||||
$(call COPY,vendor/raylib/src,./include,raylib.h)
|
||||
$(call COPY,vendor/raylib/src,./include,raymath.h)
|
||||
$(call COPY,vendor/raylib-cpp/include,./include,*.hpp)
|
||||
|
||||
# Build the raylib static library file and copy it into lib
|
||||
lib: submodules
|
||||
cd depends/raylib/src $(THEN) "$(MAKE)" PLATFORM=PLATFORM_DESKTOP
|
||||
cd vendor/raylib/src $(THEN) "$(MAKE)" PLATFORM=PLATFORM_DESKTOP
|
||||
$(MKDIR) $(call platformpth, lib/$(platform))
|
||||
$(call COPY,depends/raylib/$(libGenDir),lib/$(platform),libraylib.a)
|
||||
$(call COPY,vendor/raylib/$(libGenDir),lib/$(platform),libraylib.a)
|
||||
|
||||
# Link the program and create the executable
|
||||
$(target): $(objects)
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit 0851960397f02a477d80eda2239f90fae14dec64
|
@ -1 +0,0 @@
|
||||
Subproject commit a8f803edae6db67dafa1f84c1099f1bbc74925ef
|
Loading…
Reference in New Issue
Block a user