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