1 | # $Id: Config.kmk 73 2015-12-20 21:17:34Z bird $
|
---|
2 | ## @file
|
---|
3 | # Some xT-IDE hacking.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (c) 2015 knut st. osmundsen <bird-kBuild-spamx@anduin.net>
|
---|
8 | #
|
---|
9 | # This program is free software; you can redistribute it and/or modify
|
---|
10 | # it under the terms of the GNU General Public License as published by
|
---|
11 | # the Free Software Foundation; either version 3 of the License, or
|
---|
12 | # (at your option) any later version.
|
---|
13 | #
|
---|
14 | # This program is distributed in the hope that it will be useful,
|
---|
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
17 | # GNU General Public License for more details.
|
---|
18 | #
|
---|
19 | # You should have received a copy of the GNU General Public License
|
---|
20 | # along with This program. If not, see <http://www.gnu.org/licenses/>
|
---|
21 | #
|
---|
22 | #
|
---|
23 |
|
---|
24 |
|
---|
25 | TEMPLATE_DosExe = DOS exe
|
---|
26 | TEMPLATE_DosExe_TOOL = OPENWATCOM-16
|
---|
27 | TEMPLATE_DosExe_BLD_TRG = dos
|
---|
28 | TEMPLATE_DosExe_CFLAGS = -bt=dos -w4 -hc -d1 -zm
|
---|
29 | TEMPLATE_DosExe_CFLAGS.release = -Ox
|
---|
30 | TEMPLATE_DosExe_CXXFLAGS = -bt=dos -w4 -hc -d1 -zm
|
---|
31 | TEMPLATE_DosExe_CXXFLAGS.release = -Ox
|
---|
32 | if 1 # -zm doesn't work with wcl, it seems.
|
---|
33 | TEMPLATE_DosExe_LDTOOL = OPENWATCOM-WL
|
---|
34 | TEMPLATE_DosExe_LDFLAGS = \
|
---|
35 | System DOS \
|
---|
36 | Debug CodeView All \
|
---|
37 | Option Symfile \
|
---|
38 | Option Eliminate
|
---|
39 | else
|
---|
40 | TEMPLATE_DosExe_LDFLAGS = -bt=dos -lr -"option eliminate" -"option verbose" -zm -d1 -hc
|
---|
41 | endif
|
---|
42 | TEMPLATE_DosExe_ASTOOL = NASM
|
---|
43 | TEMPLATE_DosExe_ASFLAGS = -f obj -w+orphan-labels
|
---|
44 |
|
---|