blob: c1b4e716517342c8a97bce5df4117cc381084543 (
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
|
# $FreeBSD$
#
# Installation prefix:
PREFIX?=/usr/local
BINDIR=${PREFIX}/bin
LIBDIR=${PREFIX}/lib/cdrom2
PROGRAMS=cdrom2 cdgaiji
TBL_FILES=kojien3.tbl ruigo.tbl
all: ${PROGRAMS}
cdrom2: cdrom2.c
cc -DUNIX -O -o cdrom2 cdrom2.c
cdgaiji: cdgaiji.c
cc -DUNIX -O -o cdgaiji cdgaiji.c
install:
for f in ${PROGRAMS} ; do \
/usr/bin/install -c -s -o bin -g bin -m 755 $$f ${BINDIR} ;\
done
/bin/mkdir -p ${LIBDIR}
for f in ${TBL_FILES} ; do \
/usr/bin/install -c -o bin -g bin -m 644 $$f ${LIBDIR} ;\
done
clean:
rm -f ${PROGRAMS}
|