diff options
| author | o3o <[email protected]> | 2020-02-18 23:19:30 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-02-18 23:19:30 +0100 |
| commit | 36bf8a60d8e45f757852d121c159c14a8f9b2fb4 (patch) | |
| tree | 8799737b6cc88aaeff3522206b700b3f3df55e1c /src | |
| parent | 6d1cdf25a7d01bef2558b48f4c497724afe40139 (diff) | |
| download | raylib-36bf8a60d8e45f757852d121c159c14a8f9b2fb4.tar.gz raylib-36bf8a60d8e45f757852d121c159c14a8f9b2fb4.zip | |
Fix #1103 (#1104)
Fix 1102
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile index 4b32c4c5..e8f24f5e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -42,8 +42,8 @@ .PHONY: all clean install uninstall # Define required raylib variables -RAYLIB_VERSION = 2.5.0 -RAYLIB_API_VERSION = 251 +RAYLIB_VERSION = 2.6.0 +RAYLIB_API_VERSION = 261 # See below for alternatives. RAYLIB_PATH = .. @@ -571,10 +571,11 @@ raudio.o : raudio.c raylib.h # Compile raygui module # NOTE: raygui header should be distributed with raylib.h -raygui.o : raygui.c raygui.h - @echo #define RAYGUI_IMPLEMENTATION > raygui.c - @echo #include "$(RAYLIB_MODULE_RAYGUI_PATH)/raygui.h" > raygui.c +raygui.o : raygui.c raygui.h gui_textbox_extended.h ricons.h $(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 # NOTE: physac header should be distributed with raylib.h |
