summaryrefslogtreecommitdiff
path: root/format.py
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2024-12-14 01:28:28 +0000
committerGitHub <noreply@github.com>2024-12-13 20:28:28 -0500
commit9170902f8d4375a145b513963646dbf58949fb9a (patch)
tree17ae52ae639847b1ad35ba3d550e187c75905a0f /format.py
parentdf5d4cb4673bc74d1e2f4d11cf6f5fe8376cd1df (diff)
Move build.c definitions to the makefile, introduce and use libultra version defines in libultra instead of PLATFORM defines (#2353)
* Move build.c definitions to the makefile, introduce and use libultra version defines in libultra instead of PLATFORM defines * MAJOR+MINOR versions -> VERSION+PATCH, stringify build defines in makefile, let the libultra version determine the OPTFLAGS for libultra files * Clang format moment * Remove LIBULTRA_VERSION_ID, tweak OS_VERSION and libultra version definitions * Better fix for formatting problems
Diffstat (limited to 'format.py')
-rwxr-xr-xformat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.py b/format.py
index 775d188c1..a5faa79c9 100755
--- a/format.py
+++ b/format.py
@@ -31,7 +31,7 @@ APPLY_OPTS = "--format --style=file"
# Compiler options used with Clang-Tidy
# Normal warnings are disabled with -Wno-everything to focus only on tidying
INCLUDES = "-Iinclude -Isrc -Ibuild/gc-eu-mq-dbg -I."
-DEFINES = "-D_LANGUAGE_C -DNON_MATCHING -DF3DEX_GBI_2"
+DEFINES = "-D_LANGUAGE_C -DNON_MATCHING -DF3DEX_GBI_2 -DBUILD_CREATOR=\"\" -DBUILD_DATE=__DATE__ -DBUILD_TIME=__TIME__"
COMPILER_OPTS = f"-fno-builtin -std=gnu90 -m32 -Wno-everything {INCLUDES} {DEFINES}"