summaryrefslogtreecommitdiff
path: root/otherlibs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/Makefile')
-rw-r--r--otherlibs/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/otherlibs/Makefile b/otherlibs/Makefile
index 274b9583ad..6c3e58aa65 100644
--- a/otherlibs/Makefile
+++ b/otherlibs/Makefile
@@ -13,11 +13,9 @@
# Common Makefile for otherlibs on the Unix ports
-CAMLC=$(CAMLC_BIN) -nostdlib -I ../../stdlib
-CAMLOPT=$(CAMLOPT_BIN) -nostdlib -I ../../stdlib
-CAMLC_BIN_CMD=$$($(CAMLC_BIN_CMD_TO_EVAL) -nostdlib -I ../../stdlib)
-CAMLOPT_BIN_CMD=$$($(CAMLOPT_BIN_CMD_TO_EVAL) -nostdlib -I ../../stdlib)
-CFLAGS=-I../../byterun -O $(SHAREDCCCOMPOPTS) $(EXTRACFLAGS)
+CAMLC=$(ROOTDIR)/ocamlcomp.sh
+CAMLOPT=$(ROOTDIR)/ocamlcompopt.sh
+CFLAGS=-I$(ROOTDIR)/byterun -O $(SHAREDCCCOMPOPTS) $(EXTRACFLAGS)
include ../Makefile.shared
# Note .. is the current directory (this makefile is included from