Files
gf-core/examples/tutorial/embedded/Makefile_gfcc
2007-09-20 13:31:24 +00:00

19 lines
340 B
Plaintext

all: gf hs run
gf:
echo "pm -printer=gfcc | wf math.gfcc" | gf MathEng.gf MathFre.gf
hs: gf
echo "pg -printer=gfcc_haskell | wf GSyntax.hs" | gf MathEng.gf MathFre.gf
run: hs
ghc --make -o ./mathc TransferLoopGFCC.hs
strip mathc
clean:
rm -f *.gfc *.gfr *.o *.hi
distclean:
rm -f GSyntax.hs math math.gfcc *.gfc *.gfr *.o *.hi