FreeCalypso > hg > freecalypso-sw
changeset 242:924a80747176
ffstools/tiffs-rd/Makefile: install target added
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 27 Jan 2014 03:05:56 +0000 |
parents | c95efd27fb2e |
children | 43642cf7c98c |
files | ffstools/tiffs-rd/Makefile |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ffstools/tiffs-rd/Makefile Mon Jan 27 02:59:45 2014 +0000 +++ b/ffstools/tiffs-rd/Makefile Mon Jan 27 03:05:56 2014 +0000 @@ -3,13 +3,18 @@ PROG= tiffs OBJS= basics.o cat.o globals.o inode.o ls.o main.o object.o tree.o HDRS= globals.h pathname.h struct.h types.h +INSTBIN=/usr/local/bin all: ${PROG} -${PROG}: ${OBJS} +${PROG}: ${OBJS} ${CC} -o $@ ${OBJS} -${OBJS}: ${HDRS} +${OBJS}: ${HDRS} + +install: ${PROG} + mkdir -p ${INSTBIN} + install -c ${PROG} ${INSTBIN} clean: rm -f ${PROG} *.o *.out *errs