X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc.mk;h=738b5ca11fbf3ea209a55f0d314676480331e3d9;hp=f7d236b577713b0774a02dffd474b29eddc07692;hb=e10a75279987aa31492f5ead289a6646d69b3a23;hpb=aee44bbe090c356d649398a93e260d967a7c50db diff --git a/ghc.mk b/ghc.mk index f7d236b..738b5ca 100644 --- a/ghc.mk +++ b/ghc.mk @@ -1215,12 +1215,12 @@ phase_1_builds: $(PACKAGE_DATA_MKS) # ----------------------------------------------------------------------------- # Support for writing GHC passes in Coq -compiler/coq/: - git submodule update --init compiler/coq - cd compiler/coq/; git checkout master -compiler/coq/build/CoqPass.hs: compiler/coq/ $(wildcard compiler/coq/src/*.v) $(wildcard compiler/coq/src/*.hs) - cd compiler/coq; make -compiler/stage1/build/CoqPass.hs: compiler/coq/build/CoqPass.hs - cp compiler/coq/build/CoqPass.hs $@ -compiler/stage2/build/CoqPass.hs: compiler/coq/build/CoqPass.hs - cp compiler/coq/build/CoqPass.hs $@ +compiler/hetmet/Makefile: + git submodule update --init compiler/hetmet + cd compiler/hetmet/; git checkout master +compiler/hetmet/build/CoqPass.hs: compiler/hetmet/Makefile $(wildcard compiler/hetmet/src/*.v) $(wildcard compiler/hetmet/src/*.hs) + cd compiler/hetmet; make +compiler/stage1/build/CoqPass.hs: compiler/hetmet/build/CoqPass.hs + cp compiler/hetmet/build/CoqPass.hs $@ +compiler/stage2/build/CoqPass.hs: compiler/hetmet/build/CoqPass.hs + cp compiler/hetmet/build/CoqPass.hs $@