From 54cded2f3d17cd60b1f047d7997b68e93353f430 Mon Sep 17 00:00:00 2001 From: Gunko Vadim Date: Sun, 16 Jan 2022 19:39:00 +0500 Subject: [PATCH] change make for header --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index ddac896cb..f2cefbfc6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -632,7 +632,7 @@ raudio.o : raudio.c raylib.h # Compile raygui module # NOTE: raygui header should be distributed with raylib.h raygui.o : raygui.c - $(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) + $(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -DRAYGUI_IMPLEMENTATION raygui.c: echo #define RAYGUI_IMPLEMENTATION > raygui.c echo #include "$(RAYLIB_MODULE_RAYGUI_PATH)/raygui.h" >> raygui.c @@ -640,7 +640,7 @@ raygui.c: # Compile physac module # NOTE: physac header should be distributed with raylib.h physac.o : physac.c - $(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) + $(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -DPHYSAC_IMPLEMENTATION physac.c: @echo #define PHYSAC_IMPLEMENTATION > physac.c @echo #include "$(RAYLIB_MODULE_PHYSAC_PATH)/physac.h" >> physac.c