Commit Graph

221 Commits

Author SHA1 Message Date
Ray b61c9afd04 Update Makefile, simplified 2022-01-11 11:57:26 +01:00
Ray cabb5518e5 Improve Makefile organization 2022-01-11 11:20:04 +01:00
raysan5 a940f41b4b Update year to 2022 2021-12-31 20:06:22 +01:00
raysan5 c862c4bdf2 Support CUSTOM_CFLAGS 2021-12-29 19:06:43 +01:00
raysan5 e222209732 Reviewed CFLAGS 2021-12-29 18:22:31 +01:00
Ray 611e54e67e Reviewed makefiles 2021-12-27 19:01:07 +01:00
Ray 5f2bc20191 Update Makefile 2021-12-27 16:49:01 +01:00
Ray 8844ad6f0b Update Makefile 2021-12-27 16:38:11 +01:00
Ray bf0fed8431 Update Makefile 2021-12-27 16:14:58 +01:00
raysan5 22d0baa896 Review makefiles debug flag 2021-12-21 12:24:03 +01:00
Laurentino Luna dcb0e62095 Remove TODO on Makefile (#2232)
Justification: original comment said the following
"TODO: Add other platforms. Remove sudo requirement, i.e. add USER mode."

For the other platforms part, installing is included on unix-like
systems, so for example Windows doesn't have a path where to install
libraries.

Removing the requirement for sudo is also quite contradictory since
we're writing files to directories which require root. Not sure what the
original commiter meant by USER mode.
2021-12-20 17:04:36 +01:00
Tomas S 87fa23beee Fix build results path on Linux and RPi (#2218)
Built files should be put into src/ not into the project root
as it was now on these platforms
2021-12-16 17:10:13 +01:00
Tomas S 60b1f29783 Fix RPi make install (#2217) 2021-12-16 16:29:09 +01:00
Ray c5eaaed873 Update Makefile 2021-12-06 12:09:44 +01:00
WilledgeR e24443bbbc Fixes CC while compiling for ANDROID_ARCH x86 (#2148)
* Override CC while compiling for ANDROID_ARCH x86

* REfix Override CC while compiling
2021-11-17 20:45:07 +01:00
Ray 5e3db0aa83 Updated some scripts paths
NOTE: New raylib release installer uses `w64devkit`, smaller and more updated than regular `mingw64-w64` default project. Paths are updated properly.
2021-11-02 18:40:45 +01:00
Ray 317db34059 Reviewed to support raygui and physac on building 2021-10-21 21:17:25 +02:00
Ray 13bb656a91 Update Makefile 2021-10-21 21:09:40 +02:00
Ray 9afda9359b Reviewed physac building 2021-10-21 21:04:28 +02:00
raysan5 f437f7b405 Reviewed makefile and examples building 2021-10-17 21:00:52 +02:00
Ray 00a763ea44 Reviewed some TODO comments 2021-09-23 00:18:47 +02:00
Laurentino Luna dcd289d931 Modify TODO to NOTE on Makefile (#2007)
'# TODO: see 'install' target.' should be a note rather than something
to do.
2021-09-22 23:49:11 +02:00
Ray c1432386a5 Update Makefile 2021-09-22 11:13:10 +02:00
Ray 99ab4d6cb8 WARNING: MODULES RENAMING!!!
raylib modules have been slightly renamed to add some identity and note that they are independent modules that can be used as standalone separate parts of raylib if required.

The renamed modules are:
 - `core` -> `rcore`
 - `shapes` -> `rshapes`
 - `textures` -> `rtextures`
 - `text` -> `rtext`
 - `models` -> `rmodels`
 - `camera` -> `rcamera`
 - `gestures` -> `rgestures`
 - `core` -> `rcore`

All the build systems has been adapted to this change.
2021-09-22 00:15:06 +02:00
raysan5 1627f34032 Reviewed some compilation issues #1997 2021-09-21 15:06:06 +02:00
raysan5 b63c2619e3 Update Makefile for web compilation
Some flags are only for the linker, not the compiler
2021-09-10 19:01:09 +02:00
Steven Schveighoffer 1a6adc5f74 Fix dynamic library issues on Macos (#1978) 2021-09-06 23:17:12 +02:00
raysan5 8d3ff3fda8 Updated Makefile for latest Android NDK r32 LTS
It seems now it's required to use archiver `llvm-ar`
2021-09-05 21:49:47 +02:00
raysan5 1cc25d1a2d Review include path that was breaking the build 2021-07-30 12:14:31 +02:00
raysan5 a9f6ff6fe3 Add external folder to build (just in case) 2021-07-29 20:32:30 +02:00
raysan5 ae230dae46 Update Makefile 2021-07-09 18:49:36 +02:00
raysan5 a6728a2203 REVIEWED: emscripten versions 2021-06-30 17:12:58 +02:00
raysan5 246798a0ba Update Makefile 2021-06-05 20:15:03 +02:00
Ray cb698dd37d Update Makefile 2021-05-22 16:51:51 +02:00
raysan5 60ca8acd0a Update version to 3.8-dev to note breaking changes
Some breaking changes were introduced lately, it's better to note that current version is not 3.7 anymore...
2021-05-21 22:59:00 +02:00
raysan5 c2c141f941 Update version to raylib 3.7 2021-04-05 13:36:23 +02:00
raysan5 2b6e7c8632 Update Makefile 2021-04-02 13:41:54 +02:00
Davidson Francis 81738bfa98 Fix PATH for other PLATFORM_OS's (#1671)
The Raylib root Makefile for PLATFORM=PLATFORM_WEB is assumed to
run in Windows environments, which makes it incorrectly set the
PATH variable, so Linux (and possibly other) environments are not
able to find binaries from EMSDK_PATH.

Fix this by checking which PLATFORM_OS and configure PATH
accordingly.
2021-03-23 07:53:25 +01:00
Ray 9909068714 Removed trailing spaces 2021-03-19 19:43:44 +01:00
Ray 3c76b5cc8e Update to latest emscripten 2021-03-17 13:53:31 +01:00
raysan5 3e041a27b1 Update Makefile 2020-12-24 19:08:02 +01:00
raysan5 7e459dc38b Review Android Makefiles to required version 2020-12-23 17:05:51 +01:00
kernelkinetic e90b4d8915 Platform DRM (#1388)
* updated README.md

* fixed CMakeLists.txt to allow building and debugging with Visual Studio Code and CMAKE Tools extension

* added PLATFORM_DRM
contains mouse pointer code from https://github.com/chriscamacho

* removed redundant cleanup in InitGraphicsDevice

* fixed DRM connector mode selection

* added choosen DRM connected mode to log output

* added respecting TargetFPS on DRM mode selection, default to 60

* added support for GetMonitorRefreshRate

* changed SUPPORT_MOUSE_CURSOR_RPI to SUPPORT_MOUSE_CURSOR_NATIVE

* changed avoidProgressive to allowInterlaced

* cleanup, function extraction and improved mode selection

* README reverted to original for PR

* line endings fixed for core.c

* removed old code

* mouse pointer reverted to small square

* replaced SetGraphicDeviceName() by DEFAULT_GRAPHIC_DEVICE_DRM

Co-authored-by: kernelkinetic <kernelkinetic@outlook.com>
2020-09-27 10:18:43 +02:00
raysan5 789c5fbdf9 Updated build script to generate .a on WebAssembly
This is the recommended way
2020-09-18 20:53:57 +02:00
raysan5 4a242c2889 Updated library build script for HTML5 (emscripten 2.0.4) 2020-09-18 20:48:25 +02:00
raysan5 816856eb75 Corrected compiling issue
When using USE_PTHREADS=1 on libraylib.bc compilation, program requires --shared-memory passed to the linker and despite it compiles, it fails on execution (at least for me).
2020-08-23 21:01:10 +02:00
raysan5 e785ca73b5 Review compilation parameter for objective C code on GLFW 2020-08-20 19:37:03 +02:00
raysan5 06ff1ce2aa Minor tweak for consistency 2020-08-20 19:31:54 +02:00
raysan5 b499b50154 Avoid architecture selection on gcc, use correct gcc version instead
Review raylib resource file for DLL compilation
2020-08-20 17:37:01 +02:00
raysan5 249708dbb8 Support externally provided library name
It can be useful in some cases qhen compiling for multiple architectures
2020-08-19 19:11:18 +02:00