bloglang/03/compile.sh

7 lines
189 B
Bash
Raw Normal View History

2019-08-25 01:10:55 -07:00
bison -o parser.cpp -d parser.y
flex -o scanner.cpp scanner.l
g++ -c -o scanner.o scanner.cpp
g++ -c -o parser.o parser.cpp
g++ -c -o type.o type.cpp
g++ main.cpp parser.o scanner.o type.o