diff options
Diffstat (limited to 'ytty/Makefile')
-rw-r--r-- | ytty/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
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 $@ $< |