-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
makefile
35 lines (28 loc) · 1.52 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
# ----------------------------
# Set NAME to the program name
# Set ICON to the png icon file name
# Set DESCRIPTION to display within a compatible shell
# Set COMPRESSED to "YES" to create a compressed program
# ----------------------------
NAME ?= DEMO
COMPRESSED ?= NO
ICON ?= iconc.png
DESCRIPTION ?= "C SDK Demo"
FONTPACKNAME?=DrSans
# ----------------------------
include $(CEDEV)/include/.makefile
$(BINDIR)/$(FONTPACKNAME).bin: $(SRCDIR)/drsans-06-bold.fnt $(SRCDIR)/drsans-06-normal.fnt $(SRCDIR)/drsans-07-bold.fnt $(SRCDIR)/drsans-07-normal.fnt $(SRCDIR)/drsans-09-bold.fnt $(SRCDIR)/drsans-09-normal.fnt
convfont -o fontpack -N "Dr. Sans" -P "Calculator 1252" \
-D "A font designed for maximum readability" \
-V "15 April 2019" \
-f $(SRCDIR)/drsans-09-bold.fnt -l 11 -x 5 -c 2 -a 1 -b 1 -w bold -s sans-serif -s upright -s proportional \
-f $(SRCDIR)/drsans-09-normal.fnt -l 11 -x 5 -c 2 -a 1 -b 1 -w normal -s 0 \
-f $(SRCDIR)/drsans-07-bold.fnt -l 8 -x 3 -c 1 -a 1 -b 1 -w bold -s 0 \
-f $(SRCDIR)/drsans-07-normal.fnt -l 8 -x 3 -c 1 -a 1 -b 1 -w normal -s 0 \
-f $(SRCDIR)/drsans-06-bold.fnt -l 7 -x 3 -c 1 -a 1 -b 1 -w bold -s 0 \
-f $(SRCDIR)/drsans-06-normal.fnt -l 7 -x 3 -c 1 -a 1 -b 1 -w normal -s 0 \
$(BINDIR)/$(FONTPACKNAME).bin
$(BINDIR)/$(FONTPACKNAME).8xv: $(BINDIR)/$(FONTPACKNAME).bin
convbin --iformat bin --input $(BINDIR)/$(FONTPACKNAME).bin --oformat 8xv --output $(BINDIR)/$(FONTPACKNAME).8xv --archive --name $(FONTPACKNAME)
all: $(BINDIR)/$(FONTPACKNAME).8xv
.PHONY: clean