Files
balatro-gba/tests/util/Makefile
MeirGavish 6575fc7f94
Some checks failed
Deploy Nightly / Run Build ROM Workflow (push) Has been cancelled
Deploy Nightly / Deploy nightly (push) Has been cancelled
Update the truncate number function to use decimal point (#333)
* Fixed to truncate as "1.234M" instead of "1234K"

* Optimized by switching to strings to avoid divisions

* Changed FP constants to strings

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-23 07:52:30 +02:00

17 lines
300 B
Makefile

CC := gcc
CFLAGS := -I../../include -I. \
-g -O3 -std=gnu23 -Wall -Werror -Wno-format
SRC := util_test.c ../../source/util.c ../../source/font.c
OUT := build/util_test
$(OUT): $(SRC) | build
$(CC) $(CFLAGS) -o $@ $^
build:
mkdir -p build
clean:
rm -f $(OUT)