compiler commands Simple REFAL

1
2
3
4
5
6
7
8
9
#!/bin/bash
# in the directory /Compiler
# Compile c++-compiler of REFAL
g++ -o srefc ../bootstrap/*.cpp
# compile REFAL compiler of REFAL with c++-compiler of REFAL
./srefc -c 'g++ -o srefc1 -I../SRLib' *.sref ../SRLib/*.sref ../SRLib/Library.cpp ../SRLib/refalrts.cpp
# self-compile REFAL compiler of REFAL
./srefc1 -c 'g++ -o ../srefc1 -I../SRLib' *.sref ../SRLib/*.sref ../SRLib/Library.cpp ../SRLib/refalrts.cpp