summaryrefslogtreecommitdiff
path: root/xc/fonts/PEX
diff options
context:
space:
mode:
authorrws <empty>1993-08-25 10:01:03 +0000
committerrws <empty>1993-08-25 10:01:03 +0000
commite07ad28538c4557c1e77b318d477df47eb4879a4 (patch)
tree42c4a16f363a2715fd50d281d125a28ef3d8ae3c /xc/fonts/PEX
parent7c11408ffb9369981eaad99f66052a97d0d73e3e (diff)
use LexFile, YaccFile
Diffstat (limited to 'xc/fonts/PEX')
-rw-r--r--xc/fonts/PEX/Imakefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/xc/fonts/PEX/Imakefile b/xc/fonts/PEX/Imakefile
index e87817cac..5e2ed6b3b 100644
--- a/xc/fonts/PEX/Imakefile
+++ b/xc/fonts/PEX/Imakefile
@@ -1,5 +1,5 @@
XCOMM
-XCOMM $XConsortium: Imakefile,v 5.14 93/08/24 18:41:15 rws Exp $
+XCOMM $XConsortium: Imakefile,v 5.15 93/08/25 09:19:33 rws Exp $
XCOMM
XCOMM Copyright (c) 1989,1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
XCOMM
@@ -55,12 +55,11 @@ FONTS_BINARY = Roman.phont Roman_M.phont
TOWFONT = ./to_wfont
-all:: to_wfont $(FONTS_BINARY)
+all:: ProgramTargetName(to_wfont) $(FONTS_BINARY)
-to_wfont.h to_wfont.c: to_wfont.y
- $(YACC) -d to_wfont.y
- $(MV) y.tab.c to_wfont.c
- $(MV) y.tab.h to_wfont.h
+LexFile(lex)
+
+YaccFile(to_wfont,-d)
SingleProgramTarget(to_wfont,$(OBJS),$(LIBS),NullParameter)
@@ -68,9 +67,7 @@ SingleProgramTarget(to_wfont,$(OBJS),$(LIBS),NullParameter)
RunProgram(TOWFONT,-o $@ $<)
clean::
- RemoveFiles($(FONTS_BINARY) lex.c y.tab.h y.tab.c to_wfont.h to_wfont.c)
-
-depend:: lex.c to_wfont.c
+ RemoveFiles($(FONTS_BINARY))
DependTarget()