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:
Peter0x44 2023-10-16 13:08:55 +01:00 committed by GitHub
parent c4296b166a
commit 859c67792a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)