# # Public Domain. 1996/11/16 - Steven Schultz # # @(#)Makefile 1.0 (2.11BSD) 1996/11/16 # CFLAGS= -O SEPFLAG= -i SRCS= diskpart.c OBJS= diskpart.o MAN= diskpart.0 MANSRC= diskpart.8 all: diskpart diskpart.0 diskpart: ${OBJS} ${CC} ${CFLAGS} ${SEPFLAG} -o $@ ${OBJS} diskpart.0: ${MANSRC} /usr/man/manroff ${MANSRC} > ${MAN} clean: rm -f ${OBJS} ${MAN} diskpart tags depend: ${SRCS} mkdep ${CFLAGS} ${SRCS} install: diskpart install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat8 install -s -o root -g bin -m 755 diskpart ${DESTDIR}/usr/sbin/diskpart 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.