summaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-05-12 11:24:16 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-05-12 11:24:16 +0200
commit40b4d52e905227849785f6520d0381f19657820a (patch)
tree91eb8549419c14f4c8880693109eb41c8c650552 /build.bat
parentb9dd0160640adcbb1b5a66247b274bf99a7de705 (diff)
Reorganize all this shit
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat5
1 files changed, 2 insertions, 3 deletions
diff --git a/build.bat b/build.bat
index f115f95..c9da4e4 100644
--- a/build.bat
+++ b/build.bat
@@ -1,6 +1,5 @@
-clang emulator/main.c -o emulator.exe -std=c11 -D_CRT_SECURE_NO_WARNINGS
-REM clang linker/main.c -o linker.exe -std=c11 -D_CRT_SECURE_NO_WARNINGS
+clang emulator/main.c -o emulator.exe -std=c11 -D_CRT_SECURE_NO_WARNINGS -I.
+clang emulator/hart_test.c -o hart_test.exe -std=c11 -D_CRT_SECURE_NO_WARNINGS -I.
clang --target=riscv32 -march=rv32i -e _main -nostdlib main.asm -o main.bin
-