1
0
forked from GitHub/gf-core

GF/src is now for 2.9, and the new sources are in src-3.0 - keep it this way until the release of GF 3

This commit is contained in:
aarne
2008-05-21 09:26:44 +00:00
parent b24ca795ca
commit 2bab9286f1
536 changed files with 0 additions and 0 deletions

25
src-3.0/tools/c/Makefile Normal file
View File

@@ -0,0 +1,25 @@
GHC = ghc
GHCFLAGS =
.PHONY: all gfcc2c clean
all: gfcc2c
gfcc2c:
$(GHC) $(GHCFLAGS) --make -o $@ gfcc2c.hs
bnfc:
bnfc -gadt -d ../../GF/Canon/GFCC/GFCC.cf
-rm -f GFCC/Doc.tex GFCC/Skel.hs
happy -gca GFCC/Par.y
alex -g GFCC/Lex.x
clean:
-rm -f gfcc2c
-rm -f *.o *.hi
-rm -f GFCC/*.hi GFCC/*.o
bnfcclean: clean
-rm -f GFCC/*.bak
-rm -f GFCC/Lex.* GFCC/Par.* GFCC/Layout.* GFCC/Skel.* GFCC/Print.* GFCC/Test.* GFCC/Abs.* GFCC/ComposOp.* GFCC/Test GFCC/ErrM.* GFCC/SharedString.*
-rmdir -p GFCC/