]> matita.cs.unibo.it Git - helm.git/blobdiff - DEVEL/ocaml-http/Makefile
more cleanup
[helm.git] / DEVEL / ocaml-http / Makefile
index b85d0532f8cb983aa504c34eb41d1a1385c2433d..b3d74b10b865af68172f9a3d243d514ba4c91b09 100644 (file)
@@ -1,9 +1,21 @@
 include Makefile.defs
+export SHELL=/bin/bash
 
 MODULES = \
-       http_constants http_types http_parser_sanity http_misc http_common \
-       http_tcp_server http_parser http_message http_request http_daemon \
-       http_response http_user_agent
+       http_constants \
+       http_types \
+       http_parser_sanity \
+       http_misc \
+       http_common \
+       http_tcp_server \
+       cookie_lexer \
+       http_parser \
+       http_message \
+       http_request \
+       http_daemon \
+       http_response \
+       http_user_agent \
+       $(NULL)
 
 THREADED_SRV = http_threaded_tcp_server
 MODULES_MT = $(patsubst http_tcp_server, mt/$(THREADED_SRV) http_tcp_server, $(MODULES))
@@ -54,6 +66,8 @@ include .depend
 depend:
        $(OCAMLDEP) *.ml *.mli > .depend
 
+%.ml: %.mll
+       $(OCAMLLEX) $<
 %.cmi: %.mli
        $(OCAMLC) -c $<
 %.cmo: %.ml %.cmi