Commit graph

8 commits

Author SHA1 Message Date
Stephen Kitt 6d01ffcd94 Split up CFLAGS construction so it can be overridden
CFLAGS currently takes care of two aspects of the build: optimisation
and debug symbols on one hand, the include path on the other. The
former should be overridable by users, the latter shouldn't.

This patch moves the include path flag to CPPFLAGS, which is
appropriate for pre-processor directives. This leaves CFLAGS with only
overridable flags.

Based on a patch by Roflcopter4:
https://github.com/joncampbell123/dosbox-x/pull/3850

Signed-off-by: Stephen Kitt <steve@sk2.org>
2023-03-29 07:26:34 -07:00
Ozkan Sezer 780f6cbd38 build libSDL2_test too with Makefile.minimal 2021-11-14 01:10:32 +03:00
Ozkan Sezer 2d1706069a fixes to Makefile.minimal 2021-11-13 21:29:32 +03:00
Ozkan Sezer 3e2f8668be added some more missing sources to standalone makefiles. 2021-11-13 20:35:24 +03:00
Ozkan Sezer b2ce22a077 added src/hidapi/*.c to sources in standalone makefiles 2021-11-09 10:00:24 +03:00
Sam Lantinga 3e5dbc694a Added a dummy sensor driver 2018-08-21 13:29:21 -07:00
Sam Lantinga 7c3040e08a First pass on the new SDL sensor API 2018-08-21 12:11:34 -07:00
Philipp Wiesemann 0e45984fa0 Fixed crash if initialization of EGL failed but was tried again later.
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
2015-06-21 17:33:46 +02:00