X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Flib%2FMakefile;h=8c12efbd162370a792d7c1975d9baf90bc80a4cb;hb=1e797237a245f38a9674117b9d31ab76d8efe7cb;hp=f463d32e92ddf8bdd988b8c6f7f46488b744493f;hpb=4b076eaf2b73fae27f1ae58d3dfc95a385909f8b;p=helm.git diff --git a/matita/matita/lib/Makefile b/matita/matita/lib/Makefile index f463d32e9..8c12efbd1 100644 --- a/matita/matita/lib/Makefile +++ b/matita/matita/lib/Makefile @@ -1,8 +1,25 @@ +#TARGET= extraction2.ma +#TARGET= extraction3.ma +#TARGET= basics/logic.ma +#TARGET= basics/types.ma +#TARGET= basics/deqsets.ma +#TARGET= basics/lists/list.ma +#TARGET= arithmetics/nat.ma +TARGET= turing/multi_universal/universal.ma + all: - touch extraction.ma - EXTRACT_HASKELL=1 ~/unison_homes/mowgli/matita1.0-reallyfresh/matita/matitac extraction.ma 2> /tmp/foo.hs - cat preamble.hs /tmp/foo.hs > extraction.hs + touch $(TARGET) + #EXTRACT_HASKELL=1 ../matitac $(TARGET) 2> /tmp/foo.hs + #cat preamble.hs /tmp/foo.hs > extraction.hs + EXTRACT_OCAML=1 ../matitac $(TARGET) + +opt: + touch $(TARGET) + #EXTRACT_HASKELL=1 ../matitac.opt $(TARGET) 2> /tmp/foo.hs + #cat preamble.hs /tmp/foo.hs > extraction.hs + EXTRACT_OCAML=1 ../matitac.opt $(TARGET) -.PHONY: all +.PHONY: all opt # ghci extraction.hs +# Syntax for datatypes: data Foo = Zero | Succ Foo Foo