File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ MKFILE_DIR := $(dir $(MKFILE_PATH))
5
5
RELEASE_DIR := ${MKFILE_DIR}/output
6
6
7
7
CELL := ${RELEASE_DIR}/cell
8
-
9
8
.phony : clean antlr grammar dev build test test_cell_examples
10
9
clean :
11
10
# rm -rf internal/parser
25
24
make ckblibc
26
25
go build -v -trimpath \
27
26
-o ${CELL} ./cmd/cell
28
- rm -f cell
29
- ln -s ${CELL} cell
27
+ @echo " sussecfully build cell"
28
+
29
+
30
30
ckblibc :
31
31
@echo " >>> build libdummy.a"
32
32
cd third-party/ckb-c-stdlib && \
@@ -38,7 +38,10 @@ ckblibc:
38
38
-o impl.o && \
39
39
riscv64-unknown-elf-ar rcs libdummylibc.a impl.o
40
40
mkdir -p output/pkg
41
- cp -r third-party/ckb-c-stdlib/libdummylibc.a output/pkg
41
+ cp -r third-party/ckb-c-stdlib/libdummylibc.a output/pkg
42
+ @echo " sussecfully build libdummy.a"
43
+ install :
44
+ source ./install.sh
42
45
test :
43
46
@echo " unit test"
44
47
go mod tidy
@@ -65,3 +68,4 @@ test/cross:
65
68
-Wl,--gc-sections \
66
69
-o main tests/examples/hi.ll
67
70
ckb-debugger --bin main
71
+
Original file line number Diff line number Diff line change
1
+ export PATH=./output:${PATH}
You can’t perform that action at this time.
0 commit comments