summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-04-22 19:04:49 +1000
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-04-22 19:04:49 +1000
commit0fa5b47f9c3fdd63c3b6615f15e73c57aa0582a6 (patch)
tree3b45c62b53d0f4568cabb6035212f8b3650ca286 /Makefile
parentcde31929dff3e1ff006071df5d2c690472c64a6f (diff)
fix(Makefile): Store test executables in dist/ folder
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aa71230..cc5f6f2 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ asan: clean $(OUTDIR)/$(LIB)
test-png: clean
$(MAKE) USE_HOSTED=1 debug
- $(CC) $(BASE_CFLAGS) $(DEBUG_FLAGS) -DUSE_HOSTED tests/format/image/png/png_open.c -o png_test -Iinclude/bridges -Ldist -ltinyff && ./png_test
+ $(CC) $(BASE_CFLAGS) $(DEBUG_FLAGS) -DUSE_HOSTED tests/format/image/png/png_open.c -o $(OUTDIR)/png_test -Iinclude/bridges -Ldist -ltinyff && ./$(OUTDIR)/png_test
test: test-png