summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-04-15 17:33:19 +1000
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-04-15 17:33:19 +1000
commitc4836057209ad7961b07518e43c8ba2277258513 (patch)
tree638104745bb3edf4425201ff9d61a24ff60fb9c9 /Makefile
parent7106141e65f2e358248d0766118cd389d7eb4cb1 (diff)
feat(Makefile): Add png_tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b1d5825..b7f8df6 100644
--- a/Makefile
+++ b/Makefile
@@ -44,4 +44,15 @@ asan: CC=clang
asan: CFLAGS += $(SANFLAGS)
asan: clean all
-.PHONY: all clean debug release asan
+# Currently supporting:
+# Images
+# - png
+# - bmp (WIP)
+
+test-png: clean
+ $(MAKE) USE_HOSTED=1
+ $(CC) $(CFLAGS) -DUSE_HOSTED tests/format/image/png/png_open.c -o png_test -Iinclude/bridges -Ldist -ltinyff && ./png_test
+
+test: test-png
+
+.PHONY: all clean debug release asan test test-png