blob: 1c688a9954469969bd94b3269ac37bc5069e3899 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Index: fort-0.4.2/Makefile
===================================================================
--- fort-0.4.2.orig/Makefile
+++ fort-0.4.2/Makefile
@@ -3,7 +3,7 @@
include Makefile.config
-OCAMLC := ocamlc
+OCAMLC := ocamlc -I +compiler-libs
# FORT top-level interpreter
NAME := fort
@@ -16,7 +16,7 @@ LIBS := unix
EXECUTABLE := $(NAME)$(EXEC_SUFFIX)
$(EXECUTABLE): $(OBJECTS)
- $(OCAMLC) -linkall -o $@ toplevellib.cma $(LIBS:%=%.cma) $(OBJECTS)
+ $(OCAMLC) -linkall -o $@ ocamlcommon.cma ocamlbytecomp.cma ocamltoplevel.cma $(LIBS:%=%.cma) $(OBJECTS)
install: $(EXECUTABLE) $(OBJECTS)
mkdir -p $(DESTDIR)$(LIBDIR)
|