To define the list of files, create a file proj_files.lnt file inside your project directory.
This file has all your source files listed. And define the environment variables as follows:
%PROJ_PATH%\Sources\main.c
%PROJ_PATH%\Sources\Events.c