summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorPeter0x44 <[email protected]>2023-10-16 13:08:55 +0100
committerGitHub <[email protected]>2023-10-16 14:08:55 +0200
commit859c67792a839021b98b7abf25a664b7109cff3f (patch)
tree812d63c7314b5986440ea4ba170ff7ecf167ff0b /src/Makefile
parentc4296b166af5f1859707234dddae73d4dce84628 (diff)
downloadraylib-859c67792a839021b98b7abf25a664b7109cff3f.tar.gz
raylib-859c67792a839021b98b7abf25a664b7109cff3f.zip
Make sure rcore.o gets compiled in more situations (#3423)
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
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index e75ae536..56b6d063 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)