Added cabal clean, configure and build commands to the bindings Makefile

This ensures that c2hs is called when const_generator.py generates code for the
other language bindings
This commit is contained in:
Adrian Herrera 2016-04-06 09:51:45 +10:00
parent 74aaf3b321
commit 47f9a0cdac

View file

@ -18,6 +18,7 @@ all:
cd go && $(MAKE) gen_const
cd java && $(MAKE) gen_const
python const_generator.py dotnet
cd haskell && cabal configure && cabal build
samples: expected python
@ -54,6 +55,7 @@ sample_diff: FORCE
clean:
rm -rf $(TMPDIR)
cd python && $(MAKE) clean
cd haskell && cabal clean
check:
make -C python check