summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-09-13 22:35:44 +0300
committerNamilskyy <alive6863@gmail.com>2025-09-13 22:35:58 +0300
commitdf6ac0eb8742aa6cd0b63390fd5d0e4472b45687 (patch)
tree1c0b9083762f291fc4ea14b4a64fea2eb014484e /build.sh
parente2021d8a3b541d454e7e6fb13e796a3894f1c8bd (diff)
Added CMake build
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 93ba5cf..ff12541 100755
--- a/build.sh
+++ b/build.sh
@@ -1,3 +1,7 @@
#!/bin/sh
-gcc -v -Wall -Wextra -Werror -lm -lmpfr -lgmp -I/usr/include -L/usr/lib src/main.c -o tpi-v2 -m32
+#gcc -v -Wall -Wextra -Werror -lm -lmpfr -lgmp -I/usr/include -L/usr/lib src/main.c -o tpi
+
+cmake -S . -B build/
+cd build/
+make