# -------------- Diab configuration ---------------
# --- general --------------------------------------
# $P  - project name
# $Pp - path to project directory
# $Pn - project name
# --- compile --------------------------------------
# $I  - input full name
# $Ip - input path
# $In - input name
# $Ie - input extension
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for compiler
# --- build ----------------------------------------
# $T  - target full name
# $Tp - target path
# $Tn - target name
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for linker

[Settings]

Target = 
Version = 5.1.1
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =.
Command Line Arguments =
Category&02 = COMPILER OPTIONS
Libraries = 
Assembler Options = 
Compiler Options = 
Linker Options = rcs
Excluded Files = Excludes
Debugger=
External Dependencies=yes|no

[SettingsInfo]

Version = Provides a space for you to specify an version of compiler you want to use. 
Target = Provides a space for you to specify an output file and location of the program that the linker creates.
Working Directory = Provides a space for you to specify the directory in which executing occurs. If you do not specify a directory, executing occurs in the directory where the executable is located.
Command Line Arguments = Provides a space for you to specify command-line arguments you want to pass to the program at startup.
Libraries = Provides a space for you to specify an object file or standard library (either static or import) to pass to the linker. Separate file names with a space.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.
Compiler Options = Provides a space for you to specify an additional compiler options.
Linker Options = Provides a space for you to specify an additional linker options.
Debugger=Provides a space for you to set the debugger you want to use to debug application.
External Dependencies=If you select "yes" option, UE Studio will generate in project group "External Dependencies" from included files.

[SettingsReps]

External Dependencies=yes=1|no=0


[Variables]

CPATH =C:\Diabj
COPT = -c $(Compiler Options)
AOPT = $(Assembler Options)
LOPT = $(Linker Options) $(Libraries)
Compiler = dcc
Linker = dar
Assembler = das

[Environment]

PATH = $(CPATH)\$(Version)\Win32\BIN;$(CPATH)\$(Version)\Win32\LIB;%PATH%
INCLUDE = $(CPATH)\$(Version)\Include

[General]

TargetExt = .a
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 0
UseDosNames = 0
Excludes = $(Excluded Files)
GenerateEDGroup=$(External Dependencies)

.CPP = .C
.CXX = .C
.CC = .C

[MakeCommands]

run = Execute Application
debug = Start Debugger
makef = Show Makefile
dctrl = Set Default Target Processor

[Set Default Target Processor]

Cmd0 = dctrl -t
Depends = $T
ShowWindow = 1
DisplayConsole = 1

[Execute Application]

Title = Execute $T
Cmd0 = $(Command Line Arguments)
Depends = $T
ShowWindow = 1
DisplayConsole = 1

[Start Debugger]

Cmd0 =$(Debugger) $T
Depends =$T
ShowWindow =1
DisplayConsole = 1
Title=Debug $T

[InsertFiles]

group0 = $(Libraries)

[FileGroups]

FGO = .o;
FGL = .a;

[GroupFormats]

FGO = %s
FGL = %s

[Build]

Out = $T
Depends = $FGO
Cmd0 = $(Linker) $(LOPT) $T $FGO $FGL

[.C]

Out = $In.o
ReleaseFlag = 
DebugFlag = 
Cmd0 = $(Compiler) $(COPT) -o $O $I

IncFiles = 1
CaseSensitive = 1
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

[.S]

Out = $In.o
ReleaseFlag = 
DebugFlag = 
Cmd0 = $(Assembler) $(AOPT) -o $O $I

IncFiles = 1
CaseSensitive = 1
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.
