-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
executable file
·27 lines (24 loc) · 942 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
default:
rm -f Parser.hs
rm -f Scanner.hs
/Users/eduardoserna/.cabal/bin/alex Analysis/Scanner.x
/Users/eduardoserna/.cabal/bin/happy Analysis/Parser.y
ghc -o ooh OrderedMap.hs CodeGen/MemoryLimits.hs CodeGen/Quadruple.hs DataTypes.hs CodeGen/CodeGenDataTypes.hs CodeGen/ExpressionOptimizer.hs Analysis/SymbolTable.hs Analysis/Semant.hs Analysis/Expression.hs Analysis/ClassSymbolTable.hs VirtualMachine.hs CodeGen/ExpressionCodeGen.hs CodeGen/CodeGen.hs CodeGen/MemoryAllocator.hs Analysis/TypeChecker.hs Analysis/Scanner.hs Analysis/Parser.hs
install_dependencies:
cabal update
# cabal install alex
# cabal install happy
cabal install --lib Stack-0.4.0
cabal install --lib Decimal
cabal install --lib pretty-show
cabal install --lib pretty-terminal
cabal install --lib ordered-containers
cabal install --lib either-5
clean:
rm -f Parser.hs
rm -f Scanner.hs
rm -f *.hi
rm -f *.o
rm -f *.info
rm -f ooh
rm -f DS_Store