# -------------- Turbo C 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 = 
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =.
Command Line Arguments =
Category&02 = COMPILER OPTIONS
Generate Code = 80186/286|80086/80088
Warning Level = default|all warnings
Memory Model = Small|Tiny|Medium|Compact|Large|Huge
Floating Point = Emulation|None|80087/80287
Calling Convention = C|Pascal
Alignment = Byte|Word
Optimize For = Size|Speed
Libraries = 
Excluded Files = Excludes
Compiler Options = 
External Dependencies=yes|no

[SettingsInfo]
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.
Warning Level = Specifies the severity of warning for which the compiler generates messages.	
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.
Generate Code = Provides a space for you to specify an type of code, that will be generated. 1-80186, 2-80286, 7-80287
External Dependencies=If you select "yes" option, UEStudio will generate in project group "External Dependencies" from included files.

[SettingsReps]

Generate Code = 80186/286=-1|80086/80088=-1-
Memory Model = Tiny=-mt|Small=-ms|Medium=-mm|Compact=-mc|Large=-ml|Huge=-mh
Warning Level = default=-w-|all warnings=-w
Calling Convention = C=|Pascal=-p
Floating Point = Emulation=-f|None=-f-|80087/80287=-f87
Alignment = Byte=|Word=-a
Optimize = Size=-G-|Speed=-G
External Dependencies=yes=1|no=0

[Variables]

CPATH=C:\TC
COPT = -c $(Generate Code) $(Memory Model) $(Warning Level) $(Calling Convention) $(Alignment) $(Floating Point) -I$(CPATH)\INCLUDE -I$Ip

[Environment]

PATH = $(CPATH)\BIN;%PATH%
INCLUDE = $(CPATH)\INCLUDE

[General]

TargetExt = .LIB
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 0
UseDosNames = 1
Excludes = $(Excluded Files)
#EasyCapture = 1

.ASM=.C
GenerateEDGroup=$(External Dependencies)

[MakeCommands]

run = Execute Application
makef=Show Makefile

[Execute Application]

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

[FileGroups]

FGD = .obj;
FGO = .obj;

[GroupFormats]

FGD = %s
FGO = +%s

[Build]

Out = $T
Depends = $FGD
Cmd0 = @remove $T
Cmd1 = TLIB $T /C $FGO

[.C]
Out = $In.obj
ReleaseFlag = -O -Z $(Optimize)
DebugFlag = -y -v
Cmd0 = TCC $(COPT) $R -o$O $I
IncFiles = 1
CaseSensitive = 1
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

[Show Makefile]
Title=Show makefile
Cmd0=uestudio $(UESMAKEFILE)
ShowWindow=1
DisplayConsole=0
