aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-02-09 13:24:11 -0600
committericeyrazor <iceyrazor@mailfence.com>2026-02-09 13:24:11 -0600
commited16684cf50e2525072861cfd06e19ca4410b54f (patch)
treef22adc89e78371535dcc0414515c1edb3aef5838 /make
init
Diffstat (limited to 'make')
-rwxr-xr-xmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/make b/make
new file mode 100755
index 0000000..54d8b21
--- /dev/null
+++ b/make
@@ -0,0 +1,9 @@
+#!/bin/sh
+LIB=""
+
+echo make
+if [[ "$1" == "debug" ]]; then
+ clang -o ./bin/shell ./src/main.c $LIB -Wall -g -fsanitize=address
+else
+ clang -o ./bin/shell ./src/main.c $LIB
+fi