summary refs log tree commit diff
path: root/mk
diff options
context:
space:
mode:
authorDruid520 <r.ustydruid520@proton.me>2026-08-17 10:47:46 -0700
committerDruid520 <r.ustydruid520@proton.me>2026-08-17 10:47:46 -0700
commit848c0c6a3fcd3a05a2d8d5fbb3eb550bc423f807 (patch)
treece887d52b87656b16f8b82a2aa95082cd8529428 /mk
ADD: charge basics stuff.
Diffstat (limited to 'mk')
-rw-r--r--mk/b.sh9
-rw-r--r--mk/c.sh4
2 files changed, 13 insertions, 0 deletions
diff --git a/mk/b.sh b/mk/b.sh new file mode 100644 index 0000000..d8b27d5 --- /dev/null +++ b/mk/b.sh
@@ -0,0 +1,9 @@
1. ./mk.conf
2set -e
3
4mkdir $out
5$as $asflgs -o $note_bin $note_src
6$as $asflgs -o $start_bin $start_src
7$cc $ccflgs -o $main_bin -c $main_src
8$ld $ldflgs -o $bin $note_bin $start_bin $main_bin
9$ln $lnflgs $bin $bin_ln
diff --git a/mk/c.sh b/mk/c.sh new file mode 100644 index 0000000..d637651 --- /dev/null +++ b/mk/c.sh
@@ -0,0 +1,4 @@
1. ./mk.conf
2set -e
3
4rm -rf $out $bin_ln