blob: f4b836129cf74de35fd5fd9fd7a3ee6b6bfad496 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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)
|