Minor clean up, revert makefile change, include submodules directly in rcore
This commit is contained in:
parent
59ee375370
commit
296e5c1dcd
1 changed files with 71 additions and 437 deletions
15
src/Makefile
15
src/Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue