mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
Added QuerySpa to tutorial/embedded.
This commit is contained in:
@@ -10,7 +10,7 @@ conf:
|
|||||||
build: gf.so
|
build: gf.so
|
||||||
|
|
||||||
gf.so: PGFFFI.hs gfmodule.c
|
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 $(import) --make -fglasgow-exts -O2 -no-hs-main -c $<
|
||||||
ghc -O2 --make -fglasgow-exts -no-hs-main -optl '-shared' \
|
ghc -O2 --make -fglasgow-exts -no-hs-main -optl '-shared' \
|
||||||
-optc '-DMODULE=PGFFFI' $(debug) -optc '-I$(pythoninc)' -o $@ $^
|
-optc '-DMODULE=PGFFFI' $(debug) -optc '-I$(pythoninc)' -o $@ $^
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
all:
|
all:
|
||||||
gfc --make --output-format=haskell QueryEng.gf
|
gfc --make --output-format=haskell QueryEng.gf QuerySpa.gf
|
||||||
ghc --make -o ./math TransferLoop.hs
|
ghc --make -o ./math TransferLoop.hs
|
||||||
strip math
|
strip math
|
||||||
|
|||||||
Reference in New Issue
Block a user