diff --git a/contrib/py-bindings/Makefile b/contrib/py-bindings/Makefile index 0a5f32fca..707c6925e 100644 --- a/contrib/py-bindings/Makefile +++ b/contrib/py-bindings/Makefile @@ -10,7 +10,7 @@ conf: build: gf.so gf.so: PGFFFI.hs gfmodule.c - gf --make ../../examples/tutorial/embedded/QueryEng.gf + gf --make $(exdir)/QueryEng.gf $(exdir)/QuerySpa.gf ghc $(import) --make -fglasgow-exts -O2 -no-hs-main -c $< ghc -O2 --make -fglasgow-exts -no-hs-main -optl '-shared' \ -optc '-DMODULE=PGFFFI' $(debug) -optc '-I$(pythoninc)' -o $@ $^ diff --git a/examples/tutorial/embedded/Makefile b/examples/tutorial/embedded/Makefile index f1a61cb92..14e85bd76 100644 --- a/examples/tutorial/embedded/Makefile +++ b/examples/tutorial/embedded/Makefile @@ -1,4 +1,4 @@ all: - gfc --make --output-format=haskell QueryEng.gf + gfc --make --output-format=haskell QueryEng.gf QuerySpa.gf ghc --make -o ./math TransferLoop.hs strip math