From db5173486ddd0d3b4c8c6efe2dc43f43eb1b3d87 Mon Sep 17 00:00:00 2001 From: Peter0x44 Date: Sat, 14 Oct 2023 23:31:10 +0100 Subject: [PATCH] Make sure rcore.o gets compiled in more situations Currently doing the following: ``` make touch rcore_desktop.c make ``` Will not result in rcore.o getting compiled again, despite that rcore_desktop.c has changed This commit resolves that --- src/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile b/src/Makefile index e75ae5368..56b6d0632 100644 --- a/src/Makefile +++ b/src/Makefile @@ -632,6 +632,9 @@ endif # Compile all modules with their prerequisites +# Prerequisites of core module +rcore.o : rcore_android.c rcore_desktop.c rcore_drm.c rcore_template.c rcore_web.c + # Compile core module rcore.o : rcore.c raylib.h rlgl.h utils.h raymath.h rcamera.h rgestures.h $(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS)