diff options
| author | Prashanth Mundkur | 2018-08-30 14:05:54 -0700 |
|---|---|---|
| committer | Prashanth Mundkur | 2018-08-30 14:19:34 -0700 |
| commit | 2dd89e3b26cbf4c31d47aa4a978ade28914acb24 (patch) | |
| tree | 9ef8737844bbfe8333328e3f3b50a27863e67292 /riscv/Makefile | |
| parent | dee068786b2ef0b0d57fc02ca042e176c74db9b0 (diff) | |
Annotate the RISC-V prelude for C builtins.
Add some builtins to the C sail lib.
Enable some gcc warnings.
Diffstat (limited to 'riscv/Makefile')
| -rw-r--r-- | riscv/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/riscv/Makefile b/riscv/Makefile index 20ff8160..a3079148 100644 --- a/riscv/Makefile +++ b/riscv/Makefile @@ -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) |
