From f662f46464d1e17cbc40168fc9a850c3a2dec5e6 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Fri, 6 Nov 2020 16:05:49 +0300 Subject: add Makefile and compiled fonts --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bf521df --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +FONTNAME=Putnik +OUT_DIR=fonts +UFO_SRC=sources/$(FONTNAME).ufo +TTF=fonts/ttf/$(FONTNAME).ttf +OTF=fonts/otf/$(FONTNAME).otf + +all: ttf otf + +ttf: $(TTF) +$(TTF): $(UFO_SRC) + fontmake -u $(UFO_SRC) -o ttf --output-dir fonts/ttf/ + +otf: $(OTF) +$(OTF): $(UFO_SRC) + fontmake -u $(UFO_SRC) -o otf --output-dir fonts/otf/ + +clean: + -rm $(TTF) $(OTF) + +.PHONY: clean -- cgit v1.2.3