diff options
Diffstat (limited to 'Build/source/texk/makejvf/Makefile')
-rw-r--r-- | Build/source/texk/makejvf/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Build/source/texk/makejvf/Makefile b/Build/source/texk/makejvf/Makefile new file mode 100644 index 00000000000..f4b836129cf --- /dev/null +++ b/Build/source/texk/makejvf/Makefile @@ -0,0 +1,30 @@ +CC = gcc +CCLD =$(CC) +PROGRAM = makejvf + +# インストール先を DISTDIR に指定する +DISTDIR = /usr/local/bin + +CFLAGS = -O +PROGLINK = $(CC) $(OBJS) -o $(PROGRAM) + +OBJS = main.o tfmread.o tool.o write.o + +link_command = $(CCLD) -o $(PROGRAM) $(LDFLAGS) + +$(PROGRAM): $(OBJS) $(kpathsea) + $(PROGLINK) + +main.o:main.c +tfmread.o:tfmread.c +tool.o:tool.c +write.o:write.c + +install: $(PROGRAM) + install -C -m 755 $? $(DISTDIR) + +clean: + rm -f *.o makejvf + +distclean: + rm -f *.o *.core *.tfm *.vf *.tex *.dvi *.ps $(PROGRAM) |