# ------------- Micro 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
Line Numbers = disable|enable
Warning Level = 0|1|2
Excluded Files = Excludes
Assembler = MASM
Linker = LINK
Debugger= 
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.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.
Line Numbers = Enables MCC to accept line numbers at beginning of line, followed by :.
Assembler = Provides a space for you to specify an Assembler (MASM recommended).
Linker = Provides a space for you to specify an Linker (LINK recommended).
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]

Line Numbers = disable=|enable=-l
External Dependencies=yes=1|no=0

[Variables]

CPATH=C:\MC
MODEL=PC86RL_S.OBJ
WL = /w$(Warning Level)

[Environment]

MCDIR = $(CPATH)
PATH = $(CPATH)

[General]

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

[MakeCommands]

run = Execute Application
debug=Start Debugger
makef=Show Makefile

[Execute Application]

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

[InsertFiles]

file0 = $(CPATH)\$(MODEL)
file1 = $(CPATH)\MCLIB.LIB

[FileGroups]

FGO = .obj;
FGL = .lib;

[GroupFormats]

[Build]

Out = $T
Depends = $FGO
Cmd0 = $(Linker) $FGO,$T,$Tn,$FGL

[.AXX]

Out = $In.ASM
Cmd0 = MCO $I $O -q

[.CXX]

Out = $In.AXX
Cmd0 = MCC $I $O -q $(Line Numbers)

[.C]

Out = $In.CXX
Cmd0 = MCP $I $O l=$(CPATH) -q

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

[.ASM]

Out = $In.obj
Cmd0 = $(Assembler) /I$(CPATH) $(WL) $I, $O, $In, $In

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(CPATH);
IncKeyWords = include;
Comments = ;.eol.

[Start Debugger]
Title=Debug $T
Cmd0=$(Debugger) $T
Depends=$T
ShowWindow=1
[Show Makefile]
Title=Show makefile
Cmd0=uestudio $(UESMAKEFILE)
ShowWindow=1
DisplayConsole=0
