Start makefile tweaks to allow wasm builds

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-11-09 12:59:54 +00:00
parent 13727bbf8c
commit bac019897f
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
5 changed files with 16 additions and 0 deletions

View file

@ -546,6 +546,10 @@ BASE_FLAGS += -DZSTDLIB_VISIBILITY=
BASE_FLAGS += -I../src/Rack/dep/include
endif
ifeq ($(WASM),true)
BASE_FLAGS += -DNANOVG_GLES2=1
endif
ifeq ($(WINDOWS),true)
BASE_FLAGS += -D_USE_MATH_DEFINES
BASE_FLAGS += -DWIN32_LEAN_AND_MEAN