File Conventions - HACKT Tutorials
Description: HACKT Tutorials

Next: Program Examples, Previous: Instance Dump, Up: Compiler

### 2.6 Conventions

As a convention, we name our object files according to the last phase with which it was processed or produced. The tools are actually extension agnostic; you can use whatever file extensions you like for both source and object files.

- `.haco` – compiled only
- `.hacf` – preprocessed source only
- `.haco-c` – compiled and created
- `.haco-a` – compiled and allocated

These suffices can be used to define `make` rules. Examples of Makefile templates can be found in the distribution `lib/mk` or installed in prefix`/share/hackt/mk/hackt.mk`.