summaryrefslogblamecommitdiff
path: root/japanese/cdrom2/files/Makefile
blob: d93e3e6711e27228b193c54b89c722291bbfdb33 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                           
                               



                
                                              

                  
                                                


                                   
                                                           
            
                                         
                                    
                                                        
            


                         
# 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 ${CFLAGS} -o cdrom2 cdrom2.c

cdgaiji: cdgaiji.c
	cc -DUNIX ${CFLAGS} -o cdgaiji cdgaiji.c

install:
	for f in ${PROGRAMS} ; do \
	  ${BSD_INSTALL_PROGRAM} $$f ${DESTDIR}${BINDIR} ;\
	done
	/bin/mkdir -p ${DESTDIR}${LIBDIR}
	for f in ${TBL_FILES} ; do \
	  ${BSD_INSTALL_DATA} $$f ${DESTDIR}${LIBDIR} ;\
	done

clean:
	rm -f ${PROGRAMS}