Usage: If you have Borland C++ Builder, then $ make will give you qcad.exe You can build CUI version of qcad by $ make qcrun The CUI version will be appear in the directory "compiler". You can use it as $ ./qcrun sample.mcd