Closed piotrm0 closed 10 years ago
ocaml and sdl .h files are not found when doing "make dep", fixed by the diff below. Installs fine otherwise.
diff --git a/src/Makefile b/src/Makefile index a86812a..952f272 100644 --- a/src/Makefile +++ b/src/Makefile @@ -17,8 +17,8 @@ OCAML := ocaml OCAMLDOC := ocamldoc OCAMLDEP := ocamldep OCAMLFIND := ocamlfind -CC_MM = gcc -MM OCAMLDIR := $(shell $(OCAMLC) -where) +CC_MM = gcc -MM -I $(OCAMLDIR) $(CFLAGS) DIRSEP := $(shell $(OCAML) dir_sep.ml) BINDINGS_DIR := sdl2 PREFIX :=
ocaml and sdl .h files are not found when doing "make dep", fixed by the diff below. Installs fine otherwise.
diff --git a/src/Makefile b/src/Makefile index a86812a..952f272 100644 --- a/src/Makefile +++ b/src/Makefile @@ -17,8 +17,8 @@ OCAML := ocaml OCAMLDOC := ocamldoc OCAMLDEP := ocamldep OCAMLFIND := ocamlfind -CC_MM = gcc -MM OCAMLDIR := $(shell $(OCAMLC) -where) +CC_MM = gcc -MM -I $(OCAMLDIR) $(CFLAGS) DIRSEP := $(shell $(OCAML) dir_sep.ml) BINDINGS_DIR := sdl2 PREFIX :=