From 2ca3b57ecf0fbc62ee3759798e27cb1fa7c5028a Mon Sep 17 00:00:00 2001 From: "jordi.saludes" Date: Tue, 8 Jun 2010 11:19:33 +0000 Subject: [PATCH] Fixing gf executable in build-gfctest --- contrib/c-bindings/build-gfctest.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/c-bindings/build-gfctest.sh b/contrib/c-bindings/build-gfctest.sh index 4a61ea289..37e7c97a3 100644 --- a/contrib/c-bindings/build-gfctest.sh +++ b/contrib/c-bindings/build-gfctest.sh @@ -15,9 +15,8 @@ # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, see . -gf=../../dist/build/gf/gf src=../../src import=-i$src/runtime/haskell:$src/compiler -$gf --make ../../examples/tutorial/embedded/QueryEng.gf && +gf --make ../../examples/tutorial/embedded/QueryEng.gf && ghc $import --make -fglasgow-exts -O2 -no-hs-main $* -c PGFFFI.hs && ghc $import --make -fglasgow-exts -O2 -no-hs-main $* gfctest.c gf_lexing.c PGFFFI.hs -o gfctest