# # Public Domain. 1996/11/16 - Steven Schultz # # @(#)Makefile 1.0 (2.11BSD) 1996/11/16 # CFLAGS= -O SEPFLAG= -i SRCS= whereis.c OBJS= whereis.o MAN= whereis.0 MANSRC= whereis.1 all: whereis whereis.0 whereis: ${OBJS} ${CC} ${CFLAGS} ${SEPFLAG} -o $@ ${OBJS} whereis.0: ${MANSRC} /usr/man/manroff ${MANSRC} > ${MAN} clean: rm -f ${OBJS} ${MAN} whereis tags depend: ${SRCS} mkdep ${CFLAGS} ${SRCS} install: whereis install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1 install -s -o root -g bin -m 755 whereis ${DESTDIR}/usr/bin/whereis lint: ${SRCS} lint -hax ${SRCS} tags: ${SRCS} ctags ${SRCS} # DO NOT DELETE THIS LINE -- mkdep uses it. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.