X-Git-Url: http://git.megacz.com/?p=coq-hetmet.git;a=blobdiff_plain;f=Makefile;h=9c73d49b49a34d951a5a29a29ffa0e96300e9264;hp=7959831e0c9099f3f3e81fa1f0a7cc7ab9e6dead;hb=8dc348a407d7a476388401765b24f7815cc801cf;hpb=2781475898f19d1f7f00b395d8be3c3cdddaefaf diff --git a/Makefile b/Makefile index 7959831..9c73d49 100644 --- a/Makefile +++ b/Makefile @@ -10,13 +10,17 @@ build/CoqPass.hs: $(allfiles) cat src/Extraction-prefix.hs > build/CoqPass.hs cat build/Extraction.hs | grep -v '^module' | grep -v '^import' >> build/CoqPass.hs -build/Makefile.coq: $(coqfiles) +build/Makefile.coq: $(coqfiles) src/categories/src mkdir -p build rm -f build/*.v rm -f build/*.d - cd build; ln -s ../src/*.v . + cd build; ln -fs `find ../src -name \*.v` . cd build; coq_makefile *.v > Makefile.coq +src/categories/src: + git submodule update --init src/categories + cd compiler/categories; git checkout master + clean: rm -rf build