Skip to content

Commit

Permalink
Opam fix (#6)
Browse files Browse the repository at this point in the history
Prep for opam
  • Loading branch information
UnixJunkie authored and rvantonder committed Mar 13, 2019
1 parent c6f4787 commit ed675a9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ remove:

.PHONY: clean
clean:
rm -rf static_libs
dune clean

$(BUILT_C_FILES): _build/%.c: %.c
Expand Down
2 changes: 1 addition & 1 deletion dune
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
(library
(name hack_parallel)
(public_name hack_parallel)
(c_library_flags -lhp)
(c_library_flags -L static_libs -l hp)
(libraries
str
core
Expand Down
5 changes: 4 additions & 1 deletion hack_parallel.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ homepage: "https://github.com/rvantonder/hack-parallel"
bug-reports: "https://github.com/rvantonder/hack-parallel/issues"
dev-repo: "git+https://github.com/rvantonder/hack-parallel.git"
license: "MIT"
build: ["dune" "build" "-p" name "-j" jobs "@install"]
build: [
[make "libhp.a"]
["dune" "build" "-p" name "-j" jobs "@install"]
]
depends: [
"core"
"ppx_deriving"
Expand Down

0 comments on commit ed675a9

Please # to comment.