diff options
Diffstat (limited to 'build.bat')
-rw-r--r-- | build.bat | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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
-
|