Fix Makefile
This commit is contained in:
parent
7969c70193
commit
5c53d505c1
2
Makefile
2
Makefile
@ -6,6 +6,7 @@ GENERATED=$(OCAMLSRC)/bytecomp/opcodes.ml
|
||||
|
||||
$(OCAMLRUN): $(CONFIG)
|
||||
make -C $(OCAMLSRC)/byterun all
|
||||
make -C $(OCAMLSRC)/asmrun all
|
||||
|
||||
.PHONY: configure-ocaml
|
||||
configure-ocaml:
|
||||
@ -94,6 +95,7 @@ $(BOOT)/stdlib: $(OCAMLSRC)/stdlib $(CONFIG) $(GENERATED) patches/compflags.patc
|
||||
patch $(BOOT)/stdlib/Compflags patches/compflags.patch
|
||||
awk -f $(BOOT)/stdlib/expand_module_aliases.awk < $(BOOT)/stdlib/stdlib.mli > $(BOOT)/stdlib/stdlib.pp.mli
|
||||
awk -f $(BOOT)/stdlib/expand_module_aliases.awk < $(BOOT)/stdlib/stdlib.ml > $(BOOT)/stdlib/stdlib.pp.ml
|
||||
cp $(OCAMLSRC)/asmrun/libasmrun.a $(BOOT)/stdlib/
|
||||
|
||||
COPY_TARGETS=\
|
||||
$(BOOT)/bytecomp \
|
||||
|
@ -224,5 +224,5 @@ compile driver/main.mli
|
||||
compile driver/main.ml
|
||||
#echo $COMPILER -compat-32 -o ocamlc compilerlibs/ocamlcommon.$AEXT compilerlibs/ocamlbytecomp.$AEXT driver/main.$EXT
|
||||
#$COMPILER -compat-32 -o ocamlc compilerlibs/ocamlcommon.$AEXT compilerlibs/ocamlbytecomp.$AEXT driver/main.$EXT
|
||||
echo $COMPILER -o ocamlc compilerlibs/ocamlcommon.$AEXT compilerlibs/ocamlbytecomp.$AEXT driver/main.$EXT -cclib "-lm -ldl -lpthread"
|
||||
echo $COMPILER -o ocamlc compilerlibs/ocamlcommon.$AEXT compilerlibs/ocamlbytecomp.$AEXT driver/main.$EXT -cclib '"-lm -ldl -lpthread"'
|
||||
$COMPILER -o ocamlc compilerlibs/ocamlcommon.$AEXT compilerlibs/ocamlbytecomp.$AEXT driver/main.$EXT -cclib "-lm -ldl -lpthread"
|
||||
|
Loading…
x
Reference in New Issue
Block a user