# ############################################ # This build file assumes GNU Modula-2 compiler is installed. ############################################ echo "Building Coc/R with GNU Modula-2" # echo "Deleting all o files" rm -f ./*.o # echo "compiling the needed modules" gm2 -fiso -c CRA.mod gm2 -fiso -c CRC.mod gm2 -fiso -c CRG.mod gm2 -fiso -c CRP.mod gm2 -fiso -c CRS.mod gm2 -fiso -c CRT.mod gm2 -fiso -c CRX.mod gm2 -fiso -c FileIO.mod gm2 -fiso -c Sets.mod echo "+++++++Modules compiled ++++++++++++++++++++++" echo "Compiling main module and linking all together" gm2 -fiso -o CR CRA.o CRC.o CRG.o CRP.o CRS.o CRT.o CRX.o FileIO.o Sets.o CR.mod