X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=9c73d49b49a34d951a5a29a29ffa0e96300e9264;hb=0aa54e44e3ecbc2ad27ce793ea66ce6aad132776;hp=7959831e0c9099f3f3e81fa1f0a7cc7ab9e6dead;hpb=dceacf3f8630d0562bfb4e1bd2dc16880dbf3b7d;p=coq-hetmet.git 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