Minor clean up, revert makefile change, include submodules directly in rcore

This commit is contained in:
MichaelFiber 2023-09-17 14:52:45 -04:00
commit 296e5c1dcd

View file

@ -630,21 +630,8 @@ else
endif
# Compile all modules with their prerequisites
# Compile core module
RCORE_SUBMODULE=rcore_desktop.c
ifeq ($(PLATFORM),PLATFORM_ANDROID)
RCORE_SUBMODULE=rcore_android.c
endif
ifeq ($(PLATFORM),PLATFORM_DRM)
RCORE_SUBMODULE=rcore_drm.c
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
RCORE_SUBMODULE=rcore_web.c
endif
rcore.o : rcore.c raylib.h rlgl.h utils.h raymath.h rcamera.h rgestures.h rcore.h
$(CC) -c $< $(RCORE_SUBMODULE) $(CFLAGS) $(INCLUDE_PATHS)
$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS)
# Compile rglfw module
rglfw.o : rglfw.c