-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.darwin
69 lines (54 loc) · 2.42 KB
/
README.darwin
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
## install:
# Download the file from ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list,
# and move it to /var/db/ntpd.leap-seconds.list
# The default values are shown in the table below;
# Note that certain options need to be synchronously modified elsewhere.
export HARECACHE=~/.cache/hare
export HAREC_SRC=~/Hares/harec
export QBE=$HAREC_SRC/rt/+darwin/qbe.sh
ln -sf configs/darwin.mk config.mk
# ./scripts/genbootstrap
make bootstrap
make
make check
make docs/html
sudo -E make install
## Building external libraries
# refer to https://github.com/hshq/hare-sdl2
###############################################################################
make: HARECACHE XDG_CACHE_HOME HAREC_SRC
make check: XDG_CACHE_HOME
make clean: HARECACHE
./scripts/genbootstrap: HARECACHE QBE
default config.mk Makefile makefiles/* docs(run,test --> build)
HAREPATH "." √ √ build,deps,doc
HARECACHE ".cache" √ √ √ build,cache
NO_COLOR "" build,deps,doc
HAREC_COLOR "1" build
HAREDOC_COLORS "" doc
LESS "FRX"
MORE "R"
PAGER
HAREC "harec" √ ∆ √ √ build
QBE "qbe" √ ∆ √ build
AS "as" √ ∆ √ √ build
LD "ld" √ ∆ √ build
CC "cc" √ ∆ build
* AR
HARECFLAGS √ √ √ build
QBEFLAGS √ √ build
ASFLAGS √ √ √ build
LDLINKFLAGS √ √ build
LDFLAGS build
* ARFLAGS
HARE_TD_<mod?> √ design.txt
XDG_CONFIG_HOME ".config"
XDG_CACHE_HOME ".cache" build,cache,design.txt
XDG_DATA_HOME ".local/share"
XDG_STATE_HOME ".local/state"
XDG_RUNTIME_DIR
TMPDIR system default
HOME
PATH
TZ
###############################################################################