added missing files
This commit is contained in:
parent
25ff3913ec
commit
040c57f0a5
4 changed files with 190 additions and 0 deletions
19
tools/buildbat.tmpl
Executable file
19
tools/buildbat.tmpl
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#! stdtmpl(subsChar='?') | standard
|
||||
#proc GenerateBuildBatchScript(c: TConfigData): string =
|
||||
# result = "@echo on\nREM Generated by niminst\n"
|
||||
SET CC=gcc
|
||||
SET LINKER=gcc
|
||||
SET COMP_FLAGS=-w -O3 -fno-strict-aliasing
|
||||
SET LINK_FLAGS=
|
||||
|
||||
REM call the compiler:
|
||||
|
||||
# var linkCmd = ""
|
||||
# for f in items(c.cfiles[1][1]):
|
||||
%CC% %COMP_FLAGS% -Ibuild -c ?{f} -o ?{changeFileExt(f, "o")}
|
||||
# linkCmd.add(" " & changeFileExt(f, "o"))
|
||||
# end for
|
||||
|
||||
%LINKER% %LINK_FLAGS% -o ?{c.binPaths[0]}\?{toLower(c.name)}.exe ?linkCmd
|
||||
|
||||
ECHO SUCCESS
|
||||
Loading…
Add table
Add a link
Reference in a new issue