summaryrefslogtreecommitdiff
path: root/fonts/hershey/makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/hershey/makefile
Initial commit
Diffstat (limited to 'fonts/hershey/makefile')
-rw-r--r--fonts/hershey/makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/fonts/hershey/makefile b/fonts/hershey/makefile
new file mode 100644
index 0000000000..58d6d56de4
--- /dev/null
+++ b/fonts/hershey/makefile
@@ -0,0 +1,33 @@
+DBUG = -g
+CFLAGS = -I/usr/staff/include $(DBUG)
+LIBRARIES = -L/usr/staff/lib -lX11
+
+.SUFFIXES: .spec .mf .300pk
+
+xhershey: xhershey.o font.o parse.o
+ $(CC) $(DBUG) -o $@ xhershey.o font.o parse.o $(LIBRARIES)
+
+xhershey.o: xhershey.c font.h parse.h
+
+font.o: font.c
+
+parse.o: parse.c parse.h
+
+.spec.mf:
+ xhershey -X $*.spec > $*.mf
+
+.mf.300pk:
+ cmmf '\mode=localfont; input $*'
+ gftopk $*.300gf
+ rm $*.300gf
+
+hscs10: hscs10.300pk
+
+hscs10.300pk: hershey10.mf hscs.mf hscs10.mf
+
+hgoe10: hgoe10.300pk
+
+hgoe10.300pk: hershey10.mf hgoe.mf hgoe10.mf
+
+backup:
+ ctar README *.c *.h *.icn *.spec *.mf *.1 Makefile | rsh can 'cd Src/Window/X11/Xhershey; vtar'