removed some stdlib dependencies; license; bug fixes

This commit is contained in:
2022-02-15 22:05:11 +11:00
committed by aaron-jack-manning
parent e25b69bd44
commit f8f441648d
44 changed files with 284 additions and 101 deletions

11
makefile Normal file → Executable file
View File

@ -1,14 +1,19 @@
COMPILER = ocamlopt
EXT = .cmx
AEXT = .cmxa
CUSTOM_LIBRARY_LOCATION = lib
COMPILE = ocamlopt -O3 -nopervasives -I $(CUSTOM_LIBRARY_LOCATION) -c
STANDARD_FLAGS = -nopervasives -O3
COMPILE = $(COMPILER) $(STANDARD_FLAGS) -I $(CUSTOM_LIBRARY_LOCATION) -c
build:
ocamlopt $(CUSTOM_LIBRARY_LOCATION)/library.cmxa -o program
$(COMPILER) -I $(CUSTOM_LIBRARY_LOCATION) library$(AEXT) -o program
mostlyclean:
rm -f *.o *.a *.s *.cmi *.cmx *.cmxa *.cmo *.cma
clean:
rm -f *.o *.a *.s *.cmi *.cmx *.cmxa *.cmo *.cma program
rm -f *.o *.a *.s *.so *.cmi *.cmx *.cmxa *.cmo *.cma program
make install:
make build