And reordered all the source files in the projects according to name sort. And removed all the deleted files, including some which were forgotten in previous updates, but left as 0 byte files. Finally, updated the project to use C23 / C++23 language standards. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
43 lines
1 KiB
Makefile
43 lines
1 KiB
Makefile
|
|
ifeq ($(NDK_MAJOR),)
|
|
APP_CFLAGS := -std=c18
|
|
APP_CPPFLAGS := -std=c++17 -fexceptions -frtti
|
|
else
|
|
ifeq ($(NDK_MAJOR),21)
|
|
# clang 9
|
|
APP_CFLAGS := -std=c18
|
|
APP_CPPFLAGS := -std=c++17 -fexceptions -frtti
|
|
else ifeq ($(NDK_MAJOR),22)
|
|
# clang 11
|
|
APP_CFLAGS := -std=c18
|
|
APP_CPPFLAGS := -std=c++20 -fexceptions -frtti
|
|
else ifeq ($(NDK_MAJOR),23)
|
|
# clang 12
|
|
APP_CFLAGS := -std=c18
|
|
APP_CPPFLAGS := -std=c++20 -fexceptions -frtti
|
|
else ifeq ($(NDK_MAJOR),24)
|
|
# clang 14
|
|
APP_CFLAGS := -std=c18
|
|
APP_CPPFLAGS := -std=c++20 -fexceptions -frtti
|
|
else ifeq ($(NDK_MAJOR),25)
|
|
# clang 14
|
|
APP_CFLAGS := -std=c18
|
|
APP_CPPFLAGS := -std=c++20 -fexceptions -frtti
|
|
else ifeq ($(NDK_MAJOR),26)
|
|
# clang 17
|
|
APP_CFLAGS := -std=c18
|
|
APP_CPPFLAGS := -std=c++20 -fexceptions -frtti
|
|
else ifeq ($(NDK_MAJOR),27)
|
|
# clang 18
|
|
APP_CFLAGS := -std=c23
|
|
APP_CPPFLAGS := -std=c++23 -fexceptions -frtti
|
|
else
|
|
APP_CFLAGS := -std=c23
|
|
APP_CPPFLAGS := -std=c++23 -fexceptions -frtti
|
|
endif
|
|
endif
|
|
|
|
APP_LDFLAGS :=
|
|
APP_STL := c++_shared
|
|
|
|
APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true
|