From 822b3e760e4840dc688a840610379d977cec7b0c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 2 Oct 2007 06:50:43 +0000 Subject: include the ucf font compiler and the ytty font in uuterm repository, incorporating a simple nonrecursive build system for the font. --- ytty/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ytty/Makefile (limited to 'ytty/Makefile') diff --git a/ytty/Makefile b/ytty/Makefile new file mode 100644 index 0000000..a814a19 --- /dev/null +++ b/ytty/Makefile @@ -0,0 +1,26 @@ + +YTTY_HEXDRAW = $(YTTY_BASE)../hexdraw.sh +YTTY_UCFCOMP = $(YTTY_BASE)ucfcomp.host + +YTTY_TARGET = $(YTTY_BASE)ytty.ucf + +YTTY_DRAW_SRCS = $(patsubst %,$(YTTY_BASE)%,\ + base \ + enclose \ + math punct diacr geom arrows boxdraw braille \ + latin greek cyrillic runic hebrew \ + devanagari kannada thai tibetan \ + tech curr abbrev symbols \ + hangul kana widelatin \ + ) + +YTTY_HEX_SRCS = $(YTTY_BASE)kanji.hex + +CLEAN := $(CLEAN) $(YTTY_TARGET) $(YTTY_UCFCOMP) + +$(YTTY_TARGET): $(YTTY_DRAW_SRCS) $(YTTY_HEX_SRCS) $(YTTY_UCFCOMP) + ( cat $(YTTY_DRAW_SRCS) | $(YTTY_HEXDRAW) ; cat $(YTTY_HEX_SRCS) ) \ + | $(YTTY_UCFCOMP) > $@ || ( rm -f $@ ; exit 1 ) + +$(YTTY_BASE)ucfcomp.host: $(YTTY_BASE)../ucfcomp.c + $(HOSTCC) -o $@ $< -- cgit v1.2.1