File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -107,19 +107,19 @@ byte: $(BIN).byte
107
107
108
108
$(BIN ) .opt : $(GENSOURCES ) $(OBJ:%.cmo=%.cmx ) main/main.cmx
109
109
$(OCAMLOPT ) $(UNIXX ) $(OCAMLOPTFLAGS ) $(INCLUDES ) \
110
- -I $(MENHIRLIB ) menhirLib.cmx $(OBJ:%.cmo=%.cmx ) main/main.cmx \
110
+ -I $(MENHIRLIB ) menhirLib.cmxa $(OBJ:%.cmo=%.cmx ) main/main.cmx \
111
111
-o $(BIN ) .opt
112
112
113
113
$(BIN ) .byte : $(GENSOURCES ) $(OBJ ) main/main.cmo
114
114
$(OCAMLC ) $(UNIX ) $(OCAMLFLAGS ) $(INCLUDES ) \
115
- -I $(MENHIRLIB) menhirLib.cmo $(OBJ) main/main.cmo \
115
+ -I $(MENHIRLIB) menhirLib.cma $(OBJ) main/main.cmo \
116
116
-o $(BIN).byte
117
117
118
118
debug : OCAMLFLAGS += -g
119
119
debug : byte debugprinter.cma
120
120
121
121
debugprinter.cma : $(OBJ )
122
- $(OCAMLC ) -a -o $@ -I $(MENHIRLIB ) menhirLib.cmo $^
122
+ $(OCAMLC ) -a -o $@ -I $(MENHIRLIB ) menhirLib.cma $^
123
123
124
124
# Extra dependences
125
125
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ INCLUDES = $(DIRECTORIES:%=-I %)
26
26
27
27
byte : $(BIN ) .byte
28
28
$(BIN ) .byte : $(OBJ )
29
- $(OCAMLC ) $(OCAMLFLAGS ) $(INCLUDES ) -I $(MENHIRLIB ) menhirLib.cmo $(OBJ ) -o $(BIN ) .byte
29
+ $(OCAMLC ) $(OCAMLFLAGS ) $(INCLUDES ) -I $(MENHIRLIB ) menhirLib.cma $(OBJ ) -o $(BIN ) .byte
30
30
ln -sf $(BIN ) .byte $(BIN )
31
31
32
32
You can’t perform that action at this time.
0 commit comments