-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
32 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.PHONY : build | ||
build : | ||
jbuilder build --dev | ||
dune build | ||
|
||
.PHONY : clean | ||
clean : | ||
jbuilder clean | ||
dune clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(lang dune 1.0) | ||
(name lwt_glib) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(executables | ||
(names discover) | ||
(libraries unix str)) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
(library | ||
(name lwt_glib) | ||
(public_name lwt_glib) | ||
(synopsis "GLib integration for Lwt") | ||
(wrapped false) | ||
(libraries lwt lwt.unix) | ||
(flags :standard -w +A) | ||
(c_names lwt_glib_stubs) | ||
(c_flags (:include glib_c_flags.sexp)) | ||
(c_library_flags (:include glib_c_library_flags.sexp))) | ||
|
||
;; implements pkg-config logic from glib/myocamlbuild | ||
|
||
(rule | ||
(targets glib_c_flags.sexp glib_c_library_flags.sexp) | ||
(deps (:< config/discover.exe) ocamlc_config) | ||
(action (run %{<} ocamlc_config))) | ||
|
||
;; create ocamlc -config file | ||
|
||
(rule | ||
(targets ocamlc_config) | ||
(action (with-stdout-to %{targets} (run %{ocamlc} -config)))) |
This file was deleted.
Oops, something went wrong.