pass

simple password manager
git clone git://git.2f30.org/pass
Log | Files | Refs | README | LICENSE

Makefile (612B)


      1 VERSION = 0.1
      2 
      3 include config.mk
      4 
      5 OBJ = pass.o \
      6       log.o \
      7       readpassphrase.o
      8 
      9 BIN = pass
     10 
     11 all:	${BIN}
     12 
     13 ${BIN}: ${OBJ}
     14 	${CC} ${LDFLAGS} -o $@ ${OBJ} ${LIBS}
     15 
     16 ${OBJ}: pass.h
     17 
     18 install: all
     19 	mkdir -p ${DESTDIR}${PREFIX}/bin
     20 	cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
     21 	chmod 755 ${DESTDIR}${PREFIX}/bin/${BIN}
     22 	mkdir -p ${DESTDIR}${MANPREFIX}/man1
     23 	cp -f ${BIN}.1 ${DESTDIR}${MANPREFIX}/man1
     24 	chmod 644 ${DESTDIR}${MANPREFIX}/man1/${BIN}.1
     25 
     26 uninstall:
     27 	rm -f ${DESTDIR}${PREFIX}/bin/${BIN} \
     28 		${DESTDIR}${MANPREFIX}/man1/${BIN}.1
     29 
     30 clean:
     31 	rm -f ${OBJ} pass pass.core pass.o
     32 
     33 .PHONY: all clean install uninstall