mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
11
src/Makefile
11
src/Makefile
@ -42,8 +42,8 @@
|
|||||||
.PHONY: all clean install uninstall
|
.PHONY: all clean install uninstall
|
||||||
|
|
||||||
# Define required raylib variables
|
# Define required raylib variables
|
||||||
RAYLIB_VERSION = 2.5.0
|
RAYLIB_VERSION = 2.6.0
|
||||||
RAYLIB_API_VERSION = 251
|
RAYLIB_API_VERSION = 261
|
||||||
|
|
||||||
# See below for alternatives.
|
# See below for alternatives.
|
||||||
RAYLIB_PATH = ..
|
RAYLIB_PATH = ..
|
||||||
@ -571,10 +571,11 @@ raudio.o : raudio.c raylib.h
|
|||||||
|
|
||||||
# Compile raygui module
|
# Compile raygui module
|
||||||
# NOTE: raygui header should be distributed with raylib.h
|
# NOTE: raygui header should be distributed with raylib.h
|
||||||
raygui.o : raygui.c raygui.h
|
raygui.o : raygui.c raygui.h gui_textbox_extended.h ricons.h
|
||||||
@echo #define RAYGUI_IMPLEMENTATION > raygui.c
|
|
||||||
@echo #include "$(RAYLIB_MODULE_RAYGUI_PATH)/raygui.h" > raygui.c
|
|
||||||
$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -DRAYGUI_IMPLEMENTATION
|
$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -DRAYGUI_IMPLEMENTATION
|
||||||
|
raygui.c:
|
||||||
|
echo '#define RAYGUI_IMPLEMENTATION' > raygui.c
|
||||||
|
echo '#include "$(RAYLIB_MODULE_RAYGUI_PATH)/raygui.h"' >> raygui.c
|
||||||
|
|
||||||
# Compile physac module
|
# Compile physac module
|
||||||
# NOTE: physac header should be distributed with raylib.h
|
# NOTE: physac header should be distributed with raylib.h
|
||||||
|
|||||||
Reference in New Issue
Block a user