aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
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