# -------------- KickAsm 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
LibDir = 
Warnings = on|off
LogFile =
DTV = no|yes
AOM = no|yes
Time = no|yes
Vice = no|yes
Compiler Options =


[SettingsInfo]
Target = Provides a space for you to specify an output .jar file and location of the program that the linker creates.
Compiler Options = Provides a space for you to specify an additional compiler options.
Command Line Arguments = Argument passed to the main function.
LibDir = Defines a library where the assembler will look when it tries to open external files.
Warnings = Turns off the warning messages.
LogFile = Prints the output of the assembler to a logfile.
DTV = Enables DTV opcodes
AOM = Allow overlapping memory blocks. With this option, overlapping memory blocks will give a warning instead of an error.
Time = Displays the assemble time.
Vice = Generates a label file for VICE.

[SettingsReps]

LibDir = @-libdir %s
Warnings = on=|off=-warningsoff
LogFile = @-log "%s"
DTV = no=|yes=-dtv
AOM = no=|yes=-aom
Time = no=|yes=-time
Vice = no=|yes=-vicesymbols

[Variables]

Java = java
CPATH = C:\KickAssembler
KickAss = $(Java) -jar "$(CPATH)\KickAss.jar"
COPT = $(Compiler Options) $(LibDir) $(LogFile) $(Warnings) $(DTV) $(AOM) $(Time) $(Vice)

[Environment]

PATH = $(CPATH);%PATH%

[General]

TargetExt = .PRG
ReleaseOut = .
DebugOut = .
UseFullPaths = 1
UseDosNames = 0
Excludes = $(Excluded Files)
BuildOnly = 1
ConvertBS = 1

[FileGroups]

FGA = .asm

[GroupFormats]

FGA = ""%s""

[MakeCommands]

run = Execute
makef=Show Makefile

[Execute]

Title = Execute $T
Depends = $T
Cmd0 = $(KickAss) -execute x64 $T
ShowWindow = 1
DisplayConsole = 1

[Show Makefile]

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

[Build]

Out = $T
Depends = $FGA
DebugFlag =
ReleaseFlag =
Cmd0 = $(KickAss) -o $T $R $(COPT) $FGA
