This commit is contained in:
tixvage 2022-03-12 16:14:36 +03:00
parent 01b33e6c49
commit cebdf1f7c7

View File

@ -664,11 +664,11 @@ raygui.o : raygui.c
$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) $(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS)
raygui.c: raygui.c:
ifeq ($(PLATFORM_SHELL), cmd) ifeq ($(PLATFORM_SHELL), cmd)
@echo #define RAYGUI_IMPLEMENTATION > raygui.c @echo #define RAYGUI_IMPLEMENTATION > raygui.c
@echo #include "$(RAYLIB_MODULE_RAYGUI_PATH)/raygui.h" >> raygui.c @echo #include "$(RAYLIB_MODULE_RAYGUI_PATH)/raygui.h" >> raygui.c
else else
@echo "#define RAYGUI_IMPLEMENTATION" > raygui.c @echo "#define RAYGUI_IMPLEMENTATION" > raygui.c
@echo "#include \"$(RAYLIB_MODULE_RAYGUI_PATH)/raygui.h\"" >> raygui.c @echo "#include \"$(RAYLIB_MODULE_RAYGUI_PATH)/raygui.h\"" >> raygui.c
endif endif
# Compile physac module # Compile physac module