aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-18 05:15:58 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-18 05:15:58 -0400
commit3f962296d2ed41f0b20ec9562599575f4b832314 (patch)
tree2466870d2f7603dfa7463e31a9a7a597fc6ea4d2
parentdd4ff777f4948402f4a38a221c15b6f3813f1bd4 (diff)
Update makefile to build executables
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b73d2457..00ef89d7 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,9 @@ tags:
@echo $(CC) $(CFLAGS_PLACEHOLDER) -c $< -o $@
@$(CC) $(CFLAGS) -c $< -o $@
+%: %.tm
+ tomo -e $<
+
%.tm.testresult: %.tm tomo
@printf '\x1b[33;1;4m%s\x1b[m\n' $<
@set -o pipefail; \
@@ -71,7 +74,8 @@ clean:
%: %.md
pandoc --lua-filter=.pandoc/bold-code.lua -s $< -t man -o $@
-examples:
+examples: examples/commands/commands examples/base64/base64 examples/ini/ini examples/game/game \
+ examples/tomodeps/tomodeps examples/tomo-install/tomo-install examples/wrap/wrap examples/colorful/colorful
./tomo -IL examples/commands examples/shell examples/base64 examples/log examples/ini examples/vectors examples/game \
examples/http examples/threads examples/tomodeps examples/tomo-install examples/wrap examples/pthread examples/colorful
./tomo examples/learnxiny.tm