mirror of
https://github.com/cellos51/balatro-gba.git
synced 2026-09-09 09:26:15 -05:00
* 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>
17 lines
300 B
Makefile
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)
|