diff options
author | Prashanth Mundkur <prashanth.mundkur@gmail.com> | 2018-08-30 14:05:54 -0700 |
---|---|---|
committer | Prashanth Mundkur <prashanth.mundkur@gmail.com> | 2018-08-30 14:19:34 -0700 |
commit | 4d8bf12c28de6c12670e87fcb0bda100077d41c5 (patch) | |
tree | 02ccb9f364f12c7e02febc7b7324e7dac05a4984 /Makefile | |
parent | d226a990a78c99bd83713097f44618d784c817e6 (diff) | |
download | sail-riscv-4d8bf12c28de6c12670e87fcb0bda100077d41c5.zip sail-riscv-4d8bf12c28de6c12670e87fcb0bda100077d41c5.tar.gz sail-riscv-4d8bf12c28de6c12670e87fcb0bda100077d41c5.tar.bz2 |
Annotate the RISC-V prelude for C builtins.
Add some builtins to the C sail lib.
Enable some gcc warnings.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -32,11 +32,11 @@ coverage: _sbuild/coverage.native mkdir bisect && mv bisect*.out bisect/ mkdir coverage && bisect-ppx-report -html coverage/ -I _sbuild/ bisect/bisect*.out -riscv.c: $(SAIL_SRCS) main.sail Makefile riscv_prelude.h - $(SAIL) -O -memo_z3 -c -c_include "riscv_prelude.h" $(SAIL_SRCS) main.sail 1> $@ +riscv.c: $(SAIL_SRCS) main.sail Makefile + $(SAIL) -O -memo_z3 -c -c_include riscv_prelude.h $(SAIL_SRCS) main.sail 1> $@ -riscv_c: riscv.c Makefile - gcc -O2 riscv.c ../lib/*.c -lgmp -lz -I ../lib -o riscv_c +riscv_c: riscv.c riscv_prelude.h riscv_prelude.c Makefile + gcc -O2 riscv.c riscv_prelude.c ../lib/*.c -lgmp -lz -I ../lib -o riscv_c latex: $(SAIL_SRCS) Makefile $(SAIL) -latex -latex_prefix sail -o sail_ltx $(SAIL_SRCS) |