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
This commit is contained in:
parent
c4296b166a
commit
859c67792a
1 changed files with 3 additions and 0 deletions
|
@ -632,6 +632,9 @@ endif
|
||||||
|
|
||||||
# Compile all modules with their prerequisites
|
# 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
|
# Compile core module
|
||||||
rcore.o : rcore.c raylib.h rlgl.h utils.h raymath.h rcamera.h rgestures.h
|
rcore.o : rcore.c raylib.h rlgl.h utils.h raymath.h rcamera.h rgestures.h
|
||||||
$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS)
|
$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue