diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-07-17 23:00:30 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-07-17 23:00:30 -0500 |
| commit | 52d6bc8533616dd642c96f8b6e72f459e1b4d465 (patch) | |
| tree | 31f3dc1f3378151e57f7bc37fa2b4e22ab757661 /build.sh | |
| parent | ee2133a13d61b3b3fb8fcf88f9c9781debd77d9e (diff) | |
| download | sloth-52d6bc8533616dd642c96f8b6e72f459e1b4d465.tar.gz | |
Standard lib rework
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,10 +2,10 @@ cargo build FILENAME="$1" # Compile standard library -./target/debug/sloth std/stdio.sloth std/stdlib.sloth std/stdmath.sloth $FILENAME +./target/debug/sloth std/extern.sloth std/stdio.sloth std/stdmath.sloth $FILENAME # Generate binary -clang output.o std/stdio.c std/stdlib.c std/stdmath.c -o "${FILENAME%.sloth}" +clang -lm output.o std/stdio.c std/stdlib.c std/stdmath.c -o "${FILENAME%.sloth}" # Move file mv "${FILENAME%.sloth}" . |
