fixed modules and added dirs target

This commit is contained in:
Stavros Polymenis 2016-11-26 19:59:10 +00:00
parent f767cb2af0
commit bbf4973ddc

View File

@ -1,6 +1,6 @@
OCB_FLAGS = -use-ocamlfind -I src # -I lib OCB_FLAGS = -use-ocamlfind -I src # -I lib
OCB = ocamlbuild $(OCB_FLAGS) OCB = ocamlbuild $(OCB_FLAGS)
PKGS = toml,uuidm,omd,str,batteries,lens,lwt,ptime,ptime.clock.os,re.str,lens.ppx_deriving PKGS = toml,uuidm,omd,str,batteries,lens,lwt,lwt.unix,ptime,ptime.clock.os,re.str,lens.ppx_deriving
WEB_PKGS = $(PKGS),opium.unix,tyxml,mustache WEB_PKGS = $(PKGS),opium.unix,tyxml,mustache
CMD_PKGS = $(PKGS),cmdliner CMD_PKGS = $(PKGS),cmdliner
comma:= , comma:= ,
@ -9,6 +9,9 @@ space:= $(empty) $(empty)
all: cmd web all: cmd web
dirs:
mkdir -p ymd/uuid
web: web:
$(OCB) web.native -pkgs $(WEB_PKGS) $(OCB) web.native -pkgs $(WEB_PKGS)
mv web.native logarion-web mv web.native logarion-web