diff --git a/examples/physics_demo.c b/examples/physics_demo.c index de8d515ee..b12ac7088 100644 --- a/examples/physics_demo.c +++ b/examples/physics_demo.c @@ -3,9 +3,12 @@ * Physac - Physics demo * * NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations. -* The file pthreadGC2.dll is required to run the program; you can find it in 'src\external' * -* Copyright (c) 2016 Victor Fisac +* Use the following code to compile (-static -lpthread): +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread +* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* +* Copyright (c) 2017 Victor Fisac * ********************************************************************************************/ diff --git a/examples/physics_friction.c b/examples/physics_friction.c index a4baad539..db1b5f4c1 100644 --- a/examples/physics_friction.c +++ b/examples/physics_friction.c @@ -3,9 +3,12 @@ * Physac - Physics friction * * NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations. -* The file pthreadGC2.dll is required to run the program; you can find it in 'src\external' * -* Copyright (c) 2016 Victor Fisac +* Use the following code to compile (-static -lpthread): +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread +* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* +* Copyright (c) 2017 Victor Fisac * ********************************************************************************************/ diff --git a/examples/physics_movement.c b/examples/physics_movement.c index ee97845f4..3345404d6 100644 --- a/examples/physics_movement.c +++ b/examples/physics_movement.c @@ -3,9 +3,12 @@ * Physac - Physics movement * * NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations. -* The file pthreadGC2.dll is required to run the program; you can find it in 'src\external' * -* Copyright (c) 2016 Victor Fisac +* Use the following code to compile (-static -lpthread): +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread +* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* +* Copyright (c) 2017 Victor Fisac * ********************************************************************************************/ diff --git a/examples/physics_restitution.c b/examples/physics_restitution.c index 378f6f24e..534d125e0 100644 --- a/examples/physics_restitution.c +++ b/examples/physics_restitution.c @@ -3,9 +3,12 @@ * Physac - Physics restitution * * NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations. -* The file pthreadGC2.dll is required to run the program; you can find it in 'src\external' * -* Copyright (c) 2016 Victor Fisac +* Use the following code to compile (-static -lpthread): +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread +* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* +* Copyright (c) 2017 Victor Fisac * ********************************************************************************************/ diff --git a/examples/physics_shatter.c b/examples/physics_shatter.c index 637a163e5..fac907148 100644 --- a/examples/physics_shatter.c +++ b/examples/physics_shatter.c @@ -3,9 +3,12 @@ * Physac - Body shatter * * NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations. -* The file pthreadGC2.dll is required to run the program; you can find it in 'src\external' * -* Copyright (c) 2016 Victor Fisac +* Use the following code to compile (-static -lpthread): +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread +* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* +* Copyright (c) 2017 Victor Fisac * ********************************************************************************************/ diff --git a/src/physac.h b/src/physac.h index a6b529bc0..ff56615d7 100644 --- a/src/physac.h +++ b/src/physac.h @@ -38,13 +38,20 @@ * You can define your own malloc/free implementation replacing stdlib.h malloc()/free() functions. * Otherwise it will include stdlib.h and use the C standard library malloc()/free() function. * +* +* NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations. +* +* Use the following code to compile (-static -lpthread): +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread +* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* * VERY THANKS TO: * Ramón Santamaria (@raysan5) * * * LICENSE: zlib/libpng * -* Copyright (c) 2016 Victor Fisac +* Copyright (c) 2017 Victor Fisac * * This software is provided "as-is", without any express or implied warranty. In no event * will the authors be held liable for any damages arising from the use of this software.