summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorRay <[email protected]>2021-10-21 21:04:28 +0200
committerRay <[email protected]>2021-10-21 21:04:28 +0200
commit9afda9359bd25be95ca4407f166ee6a0b6b708eb (patch)
treec61d53d7ac2e24d5565fe165c60d8da09b021a9e /src/Makefile
parent2d82788e42ba21901bfc3e7717e58a5a28ca4b87 (diff)
downloadraylib-9afda9359bd25be95ca4407f166ee6a0b6b708eb.tar.gz
raylib-9afda9359bd25be95ca4407f166ee6a0b6b708eb.zip
Reviewed physac building
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 62b392ab..36918f4d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -590,9 +590,10 @@ raygui.c:
# Compile physac module
# NOTE: physac header should be distributed with raylib.h
physac.o : physac.c physac.h
- @echo #define PHYSAC_IMPLEMENTATION > physac.c
- @echo #include "$(RAYLIB_MODULE_PHYSAC_PATH)/physac.h" > physac.c
$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -DPHYSAC_IMPLEMENTATION
+raygui.c:
+ @echo '#define PHYSAC_IMPLEMENTATION > physac.c
+ @echo '#include "$(RAYLIB_MODULE_PHYSAC_PATH)/physac.h"' >> physac.c
# Compile android_native_app_glue module
android_native_app_glue.o : $(NATIVE_APP_GLUE)/android_native_app_glue.c