@@ -80,8 +80,17 @@ world:
80
80
cd stdlib && make all
81
81
@echo "Making lib finished"
82
82
83
+ # no depend on ./bin/ocaml_pack ./bin/bsc
84
+ # since in npm mode, they are generated from a single file
85
+ install :
86
+ cp ./bin/bsc ../bin/
87
+ cp ./runtime/* .cmt* ../lib/ocaml/
88
+ cp ./runtime/* .cmj* ../lib/ocaml/
89
+ cp ./stdlib/* .cm* ../lib/ocaml/
90
+
83
91
TMP_OCAMLLIB =$(shell ocamlopt.opt -where)
84
92
93
+
85
94
big-world :bin/big_compiler.ml bin/big_compiler.mli
86
95
@echo " Making compiler"
87
96
ocamlopt.opt -g -inline 100 -linkall -w -a -I bin bin/big_compiler.mli bin/big_compiler.ml -o bin/bsc
@@ -99,7 +108,6 @@ big-world:bin/big_compiler.ml bin/big_compiler.mli
99
108
cd stdlib && make all
100
109
@echo "Making lib finished"
101
110
102
-
103
111
world-test :
104
112
@echo " Making compiler"
105
113
ocamlopt.opt -g -inline 100 -w -a -linkall -I +compiler-libs -I bin ocamlcommon.cmxa bin/compiler.mli bin/compiler.ml -o bin/bsc
@@ -128,13 +136,6 @@ travis-world-test:./bin/ocaml_pack
128
136
@echo " Generating the compiler finished"
129
137
make world-test
130
138
131
- # no depend on ./bin/ocaml_pack ./bin/bsc
132
- # since in npm mode, they are generated from a single file
133
- install :
134
- cp ./bin/ocaml_pack ./bin/bsc ../bin/
135
- cp ./runtime/* .cmt* ../lib/ocaml/
136
- cp ./runtime/* .cmj* ../lib/ocaml/
137
- cp ./stdlib/* .cm* ../lib/ocaml/
138
139
139
140
.PHONY : stdlib
140
141
.PHONY : test quicktest release snapshot snapshotcmj
0 commit comments