In ‘HydraStudio’, you can compile single files or build complete programs.
To Compile a Single File
In the project tree, right click the corresponding file and choose ‘Compile’.
To Build a Program (Incremental)
In the project tree, right click the program filename and choose ‘Build’ from the context menu.
To Rebuild a Program
In the project tree, right click the program filename and choose ‘Rebuild’ from the context menu.
On Unix/Linux platforms, it is possible to compile from the command line. There are a number of key tools for this job:
4make uses files with a .def extension to define how to build your 4GL programs. The format of a .def file is straight forward, and broken into a number of sections:
To compile a program defined in a .def file, you will need to pass the name of the TARGET to 4make. In the example above, the name of the target is ‘d4’, so we call 4make with ‘d4’ as an argument: