Fix makefile, gitignore and a stray extern declaration

master
KC Sivaramakrishnan 2019-06-23 11:36:47 +05:30
parent 9927db73b4
commit 8ab825d7e9
3 changed files with 4 additions and 6 deletions

4
.gitignore vendored
View File

@ -190,6 +190,8 @@ _build
/runtime/.gdb_history
/runtime/*.d.c
/runtime/*.pic.c
/runtime/domain_state32.inc
/runtime/domain_state64.inc
/stdlib/camlheader
/stdlib/target_camlheader
@ -258,6 +260,8 @@ _build
/tools/caml-tex
/utils/config.ml
/utils/domainstate.ml
/utils/domainstate.mli
/yacc/ocamlyacc
/yacc/version.h

View File

@ -903,10 +903,6 @@ ocamlopt.opt: compilerlibs/ocamlcommon.cmxa compilerlibs/ocamloptcomp.cmxa \
$(OPTSTART:.cmo=.cmx)
$(CAMLOPT_CMD) $(LINKFLAGS) -o $@ $^
ocamlopt.d.opt: compilerlibs/ocamlcommon.cmxa compilerlibs/ocamloptcomp.cmxa \
$(OPTSTART:.cmo=.cmx)
$(CAMLOPT_CMD) -runtime-variant d -I runtime $(LINKFLAGS) -o $@ $^
partialclean::
rm -f ocamlopt.opt

View File

@ -28,8 +28,6 @@ void caml_init_domain(void);
#endif /* CAML_INTERNALS */
CAMLextern caml_domain_state* Caml_state;
#ifdef __cplusplus
}
#endif