Commit Graph

129 Commits

Author SHA1 Message Date
orbea
fb6fe1a87c Makefile: Better respect CFLAGS and CXXFLAGS as environment variables.
This fixes a few subtle problems with passing CFLAGS and CXXFLAGS as
environment variables for configure.

First it will now only add these variables to config.mk when they are
actually set. If they are unset then the default optimizations in the
Makefile are set. This avoids passing more than one conflicting
optimization level to the compiler.

Next all CFLAGS are added to CXXFLAGS to avoid issues with forgetting to
set both CFLAGS and CXXFLAGS. This results in the cxx compiler getting
passed several redundant optimization levels when both the CFLAGS and
CXXFLAGS environment variabls are used. Now these uses of CFLAGS in
Makefile.common are set to DEF_FLAGS. This allows adding $(DEF_FLAGS)
to the CXXFLAGS variable without adding redundant flags from CFLAGS.

v2: Update other build files.
2018-12-30 17:17:19 -08:00
radius
3c8264e9f2 use stb font in emscripten (untested) 2018-09-30 17:41:24 -05:00
twinaphex
ca9dd89975 Revert "(3DS/Emscripten/Vita/Wiiu) Add HAVE_CHD support"
This reverts commit d4c691527a.
2018-04-22 12:02:40 +02:00
twinaphex
d4c691527a (3DS/Emscripten/Vita/Wiiu) Add HAVE_CHD support 2018-04-22 11:58:11 +02:00
Toad King
a634994809 no longer compile with SDL support by default 2018-01-18 22:57:46 -06:00
Toad King
99472beeb6 more build modifications to emscripten (needed for mupen64 to work) 2018-01-15 21:02:01 -06:00
Toad King
bc511b8c8a enable shader pipeline
enables menu shader effects
2018-01-15 04:53:44 -06:00
Toad King
066a0a6b32 put emscripten build artifacts into its own folder
clean up all artifacts on make clean
2018-01-15 04:53:27 -06:00
Toad King
3917b02f9f build optimized emscripten builds as WASM
HUGE speed-ups for firefox and moderate speedups for chrome
2018-01-15 04:00:09 -06:00
Toad King
fca639ad84 remove linking SDL code 2018-01-14 14:42:57 -06:00
Toad King
2d27a8c3e2 fix exiting not terminating emscripten runtime 2018-01-14 02:53:34 -06:00
Toad King
1e212b4248 use emscripten HTML5 API for keyboard events instead of old JS library 2018-01-13 17:56:00 -06:00
Toad King
a77f9c37c6 start on bringing the emscripten video code up to speed with latest emscripten
fix rwebinput
2018-01-13 00:05:07 -06:00
twinaphex
db034b8a12 Change Makefile.emscripten 2018-01-12 03:16:15 +01:00
twinaphex
951918a245 Reduce size of Makefiles 2017-12-07 05:54:54 +01:00
twinaphex
67fea30406 Remove remaining references to HAVE_FBO 2017-11-13 08:55:41 +01:00
twinaphex
360a3686a0 Update include dirs 2017-11-06 05:23:53 +01:00
twinaphex
69abe6dbb9 Move deps/zlib to deps/libz 2017-03-25 10:05:33 +01:00
twinaphex
14a800f1f5 Update Makefiles - audio_filters have been moved to libretro-common 2017-01-09 12:37:01 +01:00
twinaphex
7af2e2e6b8 Add HAVE_CC_RESAMPLER to more Makefiles 2016-12-12 12:48:04 +01:00
twinaphex
c2bb410d8d Take out HAVE_BUILTIN_AUTOCONFIG - always include it 2016-10-04 07:33:57 +02:00
radius
a23f5b10ff fix ASYNCIFY 2016-09-28 19:32:14 -05:00
radius
dc276df53e (ems) use imfs in this template for testing purposes 2016-09-24 12:59:10 -05:00
radius
c3d5c98849 (ems) change some makefile flags 2016-09-23 19:48:50 -05:00
Logan McNaughton
b5cd030eff Only set PTHREAD_POOL_SIZE=2 if PTHREAD is on 2016-09-23 09:16:45 -06:00
Logan McNaughton
17b696c0dd Add PTHREAD_POOL_SIZE 2016-09-22 21:51:30 -06:00
Logan McNaughton
01c43f5eef Allow pthread support in emscripten 2016-09-22 15:37:41 -06:00
Logan McNaughton
f0204a8b5d Fix emscripten async and add glupen64 2016-09-21 14:10:05 -06:00
radius
042eadd39e (ems) we don't need rjpg in emscripten 2016-09-17 03:12:22 -05:00
radius
10222178b0 (ems) we don't need rjpg 2016-09-17 02:01:59 -05:00
twinaphex
e3c560014c Turn HAVE_GLES into HAVE_OPENGLES 2016-09-17 00:38:35 +02:00
twinaphex
ba52d6728a Add HAVE_BUILTIN_AUTOCONFIG for SDL2/Emscripten 2016-09-03 07:04:23 +02:00
radius
42b9928964 add SDL2 2016-08-29 00:23:58 -05:00
radius
ee3af240d7 update emscripten dist-cores for buildbot duty 2016-08-28 19:14:42 -05:00
twinaphex
5f183d9895 Make SDL2 optional for Emscripten 2016-08-01 16:29:56 +02:00
twinaphex
6d76a04b0f (GL) Cleanups
(Emscripten) Add HAVE_RPNG/HAVE_RJPEG
2016-08-01 16:25:02 +02:00
dalter
c7060b2db0 Add SDL2 compile flags 2016-07-31 18:09:56 +03:00
twinaphex
0e3ff650c2 Remove WANT_RPNG 2016-05-17 13:41:40 +02:00
twinaphex
25ec6a8872 Add HAVE_JPEG to project files 2016-05-17 13:39:06 +02:00
twinaphex
8e38a18f55 Makefile.emscripten - add HAVE_EGL 2015-11-20 17:41:50 +01:00
twinaphex
c992b10a7d (Emscripten) Another buildfix 2015-08-20 00:57:54 +02:00
twinaphex
4787c463b6 Backport this - 58748da89d 2015-07-27 00:08:25 +02:00
twinaphex
5d24c75925 Create HAVE_MAIN define 2015-04-20 21:10:01 +02:00
fr500
b378212866 emscripten build fixes 2015-04-19 13:58:44 -05:00
twinaphex
4d13e9d4cb Turn WANT_MINIZ into WANT_ZLIB 2015-03-14 05:24:57 +01:00
twinaphex
aece30f6bc Rename deps/rzlib to deps/zlib 2015-03-06 01:47:09 +01:00
twinaphex
a33016d457 Renamed libretro-sdk to libretro-common 2015-02-19 00:04:03 +01:00
twinaphex
3334e83361 Move Xaudio C interface to audio/drivers 2015-01-13 00:25:01 +01:00
twinaphex
ba5a31e33b Build fixes 2015-01-12 23:38:21 +01:00
twinaphex
069fb556f0 Rename graphics context drivers 2015-01-12 22:19:31 +01:00