aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-21 23:33:22 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-21 23:33:22 -0400
commitf8e2916712ee6e979f6d88e1e5d467539be51097 (patch)
tree41b3949cce78afe0772efeaf8a6ae042da16f8ca /Makefile
parente717f9f6aaaedf2fa0b8c6dac2aaae5bc5ad8c30 (diff)
Added autoinstaller for deps
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5e759dff..ae985542 100644
--- a/Makefile
+++ b/Makefile
@@ -81,6 +81,9 @@ examples: examples/commands/commands examples/base64/base64 examples/ini/ini exa
examples/http examples/threads examples/tomodeps examples/tomo-install examples/wrap examples/pthreads examples/colorful
./build/tomo examples/learnxiny.tm
+deps:
+ ./install_dependencies.sh
+
install: build/tomo build/libtomo.so
mkdir -p -m 755 "$(PREFIX)/man/man1" "$(PREFIX)/bin" "$(PREFIX)/include/tomo" "$(PREFIX)/lib" "$(PREFIX)/share/tomo/modules"
cp -v src/stdlib/*.h "$(PREFIX)/include/tomo/"
@@ -93,4 +96,4 @@ uninstall:
rm -rvf "$(PREFIX)/bin/tomo" "$(PREFIX)/include/tomo" "$(PREFIX)/lib/libtomo.so" "$(PREFIX)/share/tomo"; \
.SUFFIXES:
-.PHONY: all clean install uninstall test tags examples
+.PHONY: all clean install uninstall test tags examples deps