-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmakefile
50 lines (36 loc) · 1.38 KB
/
makefile
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
# ----------------------------
# Program Options
# ----------------------------
NAME = CESH
ICON = icon.png
DESCRIPTION = "CEsh - The TI-84 Plus CE Shell"
COMPRESSED = YES
ARCHIVED = YES
CFLAGS = -Wall -Wextra -Oz
CXXFLAGS = -Wall -Wextra -Oz
HAS_PRINTF = NO
FONTDIR = $(SRCDIR)/fonts
FONT = $(FONTDIR)/terminusfont.fnt
BOLDFONT = $(FONTDIR)/terminusfontbold.fnt
ITALFONT = $(FONTDIR)/terminusfontitalic.fnt
BOLDITALFONT = $(FONTDIR)/terminusfontbolditalic.fnt
FONT_INC = $(FONTDIR)/terminusfont.inc
BOLDFONT_INC = $(FONTDIR)/terminusfontbold.inc
ITALFONT_INC = $(FONTDIR)/terminusfontitalic.inc
BOLDITALFONT_INC = $(FONTDIR)/terminusfontbolditalic.inc
DEPS = $(FONT_INC) $(BOLDFONT_INC) $(ITALFONT_INC) $(BOLDITALFONT_INC)
# ----------------------------
include $(shell cedev-config --makefile)
# ----------------------------
$(FONT_INC): $(FONT)
$(Q)$(call MKDIR,$(@D))
$(Q)convfont -o carray -f $< -a 1 -b 1 -w bold -c 2 -x 9 -l 0x0B -Z $@
$(BOLDFONT_INC): $(BOLDFONT)
$(Q)$(call MKDIR,$(@D))
$(Q)convfont -o carray -f $< -a 1 -b 1 -w bold -c 2 -x 9 -l 0x0B -Z $@
$(ITALFONT_INC): $(ITALFONT)
$(Q)$(call MKDIR,$(@D))
$(Q)convfont -o carray -f $< -a 1 -b 1 -w bold -c 2 -x 9 -l 0x0B -Z $@
$(BOLDITALFONT_INC): $(BOLDITALFONT)
$(Q)$(call MKDIR,$(@D))
$(Q)convfont -o carray -f $< -a 1 -b 1 -w bold -c 2 -x 9 -l 0x0B -Z $@