mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-03 16:22:52 -06:00
Founding the newly structured GF2.0 cvs archive.
This commit is contained in:
23
src/Makefile
Normal file
23
src/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
GHMAKE=ghc
|
||||
GHCFLAGS=-package lang -package util
|
||||
GHCFUDFLAG=-package Fudgets
|
||||
GHCINCLUDE=-iapi -icompile -igrammar -iinfra -ishell -isource -icanonical -iuseGrammar -icf -ifor-ghc
|
||||
|
||||
all:
|
||||
make today ; make ghc
|
||||
ghc:
|
||||
$(GHMAKE) $(GHCFLAGS) $(GHCINCLUDE) $(GHCFUDFLAG) --make GF.hs -o gf2+ ; strip gf2+ ; mv gf2+ ../bin/
|
||||
batch:
|
||||
$(GHMAKE) $(GHCFLAGS) $(GHCINCLUDE) --make GF2.hs -o gf2 ; strip gf2
|
||||
api:
|
||||
$(GHMAKE) $(GHCFLAGS) $(GHCINCLUDE) --make API.hs
|
||||
shell:
|
||||
$(GHMAKE) $(GHCFLAGS) $(GHCINCLUDE) --make Shell.hs
|
||||
clean:
|
||||
rm -rf */*.o */*.hi *.o *.hi */*.ghi *.ghi *~ */*~
|
||||
hugs:
|
||||
hugs -P.:for-hugs:api:source:canonical:cf:grammar:infra:shell:useGrammar:compile: GF
|
||||
today:
|
||||
runhugs util/MkToday
|
||||
javac:
|
||||
cd java ; javac GFEditor.java ; cd ..
|
||||
Reference in New Issue
Block a user