@@ -6,27 +6,27 @@ ifndef EXE
6
6
endif
7
7
NATIVE =ocamlopt.opt$(EXE )
8
8
9
- OCAMLOPT_FLAGS = -inline 1000 -w -a ../stubs/ext_basic_hash_stubs.c
9
+ OCAMLOPT_FLAGS = -g - inline 1000 -w -a ../stubs/ext_basic_hash_stubs.c
10
10
11
11
bsppx.exe : config_bsppx.mli config_bsppx.ml bsppx.mli bsppx.ml
12
- $(NATIVE ) -g -inline 1000 -linkall -w -a $^ -o $@
12
+ $(NATIVE ) $( OCAMLOPT_FLAGS ) $^ -o $@
13
13
14
14
bspp.exe : bspp.mli bspp.ml
15
- $(NATIVE ) -g -inline 1000 -linkall -w -a $^ -o $@
15
+ $(NATIVE ) $( OCAMLOPT_FLAGS ) $^ -o $@
16
16
17
17
bsdep.exe : config_bsdep.mli config_bsdep.ml bsdep.mli bsdep.ml
18
- $(NATIVE ) -g -inline 1000 -linkall -w -a $^ -o $@
18
+ $(NATIVE ) $( OCAMLOPT_FLAGS ) $^ -o $@
19
19
20
20
bsb.exe : bsb.mli bsb.ml
21
- $(NATIVE ) -g -inline 1000 -linkall unix.cmxa str.cmxa -w -a $^ -o $@
21
+ $(NATIVE ) $( OCAMLOPT_FLAGS ) unix.cmxa str.cmxa $^ -o $@
22
22
23
23
bsb_helper.exe : bsb_helper.mli bsb_helper.ml
24
- $(NATIVE ) -g -inline 1000 -linkall unix.cmxa str.cmxa -w -a $^ -o $@
24
+ $(NATIVE ) $( OCAMLOPT_FLAGS ) unix.cmxa str.cmxa -w -a $^ -o $@
25
25
26
26
config_whole_compiler.ml :config_whole_compiler.mlp ../config.js
27
27
node ../config.js
28
28
bsc.exe : config_whole_compiler.mli config_whole_compiler.ml whole_compiler.mli whole_compiler.ml
29
- $(NATIVE ) -w -a ../stubs/ext_basic_hash_stubs.c $^ -o $@
29
+ $(NATIVE ) $( OCAMLOPT_FLAGS ) $^ -o $@
30
30
31
31
bspack.exe : config_bspack.mli config_bspack.ml bspack.mli bspack.ml
32
32
$(NATIVE ) $(OCAMLOPT_FLAGS ) unix.cmxa $^ -o $@
0 commit comments