separate numerical operations into int and float folders, changing names of exposed functions from stdlib
This commit is contained in:
@ -8,6 +8,9 @@ build:
|
||||
ocamlopt -S -O3 -nopervasives -c types.mli types.ml
|
||||
|
||||
# the following files make up the core custom standard library code
|
||||
ocamlopt -S -O3 -nopervasives -c int.mli int.ml
|
||||
ocamlopt -S -O3 -nopervasives -c float.mli float.ml
|
||||
ocamlopt -S -O3 -nopervasives -c float.mli float.ml
|
||||
ocamlopt -S -O3 -nopervasives -c functions.mli functions.ml
|
||||
ocamlopt -S -O3 -nopervasives -c stack.mli stack.ml
|
||||
ocamlopt -S -O3 -nopervasives -c list.mli list.ml
|
||||
@ -21,7 +24,7 @@ build:
|
||||
ocamlopt -S -O3 -nopervasives -c main.mli main.ml
|
||||
|
||||
# after all files are individually compiled with -nopervasives, this is compiled with it so that fromStdlib has the necessary linking
|
||||
ocamlopt -S -O3 fromStdlib.cmx types.cmx functions.cmx stack.cmx list.cmx map.cmx queue.cmx set.cmx tree.cmx main.cmx -o program
|
||||
ocamlopt -S -O3 fromStdlib.cmx types.cmx int.cmx float.cmx functions.cmx stack.cmx list.cmx map.cmx queue.cmx set.cmx tree.cmx main.cmx -o program
|
||||
|
||||
# clean removes all except source files. autogenerated mli files are also removed.
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user