This document describes how to use the Makefile to compile executable file. 1. GNU make tool installation. Step1: Download w64devkit: w64devkit is used as the make tool. Please download this tool from github: https://github.com/skeeto/w64devkit/releases This example use v1.20.0 version. Step2: Unzip the downloaded zip package to the directory where you want to install the tool. After successful unzip, this tool is ready for use. Step3: Add w64devkit_install_path/bin to your environment variables of windows system. Run "make --version" in Windows Command Line to check if environment variables is added successfully. If correct version info is printed in Windows Command Line, environment variables is added successfully. 2. Generate the Tresos project "Port_Z20K148M" in Tresos tool. 3. Update variables of config.mk according to your environment. E.g., GHS_DIR. 4. Compile the executable file. Step1: Open Windows Command Line, goto Build directory. Step2: run "make build", the executable file "Port_Z20K148M.elf" is generated beneath "Build/output/bin/" directory. 5. Remove output folder. After successful build, the output folder which contains executable and object files is created. Run "make clean" to remove output folder. Note: This makefile supports GreenHills compiler only.