-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompile.sh
More file actions
executable file
·16 lines (16 loc) · 810 Bytes
/
compile.sh
File metadata and controls
executable file
·16 lines (16 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
rm -f *.o
rm -f *exe
lex Parser.l
g++ -g -c lex.yy.c -o lex.yy.o
g++ -g -c ExpressionParser.c -o ExpressionParser.o
g++ -g -c SqlSelectParserCFG.c -o SqlSelectParserCFG.o
g++ -g -c EnumConvertor.cpp -o EnumConvertor.o
g++ -g lex.yy.o ExpressionParser.o SqlSelectParserCFG.o EnumConvertor.o -o exe -lfl
g++ -g -c infix_to_postfix_test.cpp -o infix_to_postfix_test.o
g++ -g -c MexprTree.cpp -o MexprTree.o
g++ -g -c Operators.cpp -o Operators.o
g++ -g -c Dtype.cpp -o Dtype.o
g++ -g -c calculator.cpp -o calculator.o
g++ -g infix_to_postfix_test.o MexprTree.o Operators.o Dtype.o -o infix_to_postfix_test.exe
g++ -g lex.yy.o calculator.o EnumConvertor.o ExpressionParser.o MexprTree.o Operators.o Dtype.o -o calculator.exe -lfl
ar rcs libMexpr.a ExpressionParser.o Operators.o Dtype.o MexprTree.o EnumConvertor.o