Permalink
Browse files

More comments

  • Loading branch information...
adept committed Oct 21, 2011
1 parent f05cb8e commit 4cc301bbe6ef6a25173b2e2c47264cd258b83333
Showing with 4 additions and 1 deletion.
  1. +4 −1 sexplib/lib/Tupfile
View
@@ -5,14 +5,17 @@ include_rules
: foreach *.mly |> ocamlyacc %f |> %B.ml %B.mli
# Building library modules
+# Note that rules are very similar, differ in order-defining deps only, and all order-defining deps are created by rules within this directory
+# It would be nice to be able to specify some kind of "foreach" rule that captures general compilation command and then specify order-defining
+# dependencies separately
: type.ml |> !byte_io |> {cmo}
: parser.mli | type.cmi |> !byte_i |>
: parser.ml | parser.cmi |> !byte_o |> {cmo}
: lexer.ml | parser.cmi |> !byte_io |> {cmo}
-# It would be nice to avoid such manual management of flags
+# It would be nice to avoid such manual management of flags and be able to set flags for one specific command only
OCAMLC_FLAGS_BAK = $(OCAMLC_FLAGS)
OCAMLC_FLAGS += -pp cpp
: pre_sexp.ml | lexer.cmi |> !byte_io |> {cmo}

0 comments on commit 4cc301b

Please sign in to comment.