-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.mk
72 lines (57 loc) · 1.79 KB
/
local.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
##############################################################################
#
# Copyright (c) 2010 by YoYu-Productions
#
# PROJECT: GeoLadder
# MODULE: Local Makefile
# FILE: local.mk
#
# AUTHOR: Andreas Bollhalder
#
##############################################################################
# ::: XGOCFLAGS ::: (will be passed to the GOC preprozessor)
# Do not create an EC version
# NO_EC = 1
NO_EC = 1
# ::: XCCOMFLAGS ::: (will be passed to the C compiler)
# Generics
# -d Reduces the size of the dgroup by merging duplicate strings.
# -dc Compile the stings of the the code into the code segment instead
# the dgroup.
#XCCOMFLAGS += -d -dc
# On WCC:
# -d and -dc not supported
# Used instruction set
# -1 186
# -2 286 (recommended)
# -3 386 (possibly problematic with SWAT)
# -4 ??? (used by Rainer in R-Basic)
# -1- -2- -3- 8086
XCCOMFLAGS += -2
# Speed and size (no garanties !!!)
# -b- Make enums size of byte instead of int
# -O Optimize for jumps
# -Ob Remove dead code (needed for -Oe)
# -Oc Optimize locally
# -Oe Global register allocation (required for -Ob)
# -Og Optimize globally
# -Ol Optimize loops
# -Op Copy propagation
# -Os Optimize for size
# -O1 Optimize for size
# -Z Suppress redundant loads
# Good size reduction with
# -O -Os -Z
# Minor size reduction with
# -Ol -d
#XCCOMFLAGS += -O -Op -Os -Z
# On WCC:
# -O and -Z not supported, eventually use -zc
# -Op and -Os has no effect
#XCCOMFLAGS += -zc
XCCOMFLAGS += -ox
# ::: LINKFLAGS ::: (will be passed to the GLUE linker)
# Set the copyrigth notice
LINKFLAGS += -N ©2010\20by\20YoYu-Productions
#include <$(SYSMAKEFILE)>
# End of 'local.mk'