diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2020-11-06 16:05:49 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2020-11-06 16:05:49 +0300 |
| commit | f662f46464d1e17cbc40168fc9a850c3a2dec5e6 (patch) | |
| tree | e46518b5f3cbe04a67dc32e9b657c4c429070890 /Makefile | |
| parent | b9dba7f5ee8a103ee382adfc72a08e78b99ed602 (diff) | |
| download | Putnik-f662f46464d1e17cbc40168fc9a850c3a2dec5e6.tar.gz Putnik-f662f46464d1e17cbc40168fc9a850c3a2dec5e6.zip | |
add Makefile and compiled fonts
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
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 |
