tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

Makefile (746B)


      1 
      2 PREFIX ?= /usr/local
      3 
      4 all:
      5 	$(CC) -O2 -o tomb-kdb-pbkdf2 pbkdf2.c -lgcrypt
      6 	$(CC) -O2 -o tomb-kdb-pbkdf2-getiter benchmark.c -lgcrypt
      7 	$(CC) -O2 -o tomb-kdb-pbkdf2-gensalt gen_salt.c -lgcrypt
      8 	$(CC) -O2 -o tomb-kdb-hexencode hexencode.c
      9 
     10 clean:
     11 	rm -f tomb-kdb-pbkdf2 tomb-kdb-pbkdf2-getiter tomb-kdb-pbkdf2-gensalt tomb-kdb-hexencode
     12 
     13 install:
     14 	install -Dm755 tomb-kdb-pbkdf2 ${DESTDIR}${PREFIX}/bin/tomb-kdb-pbkdf2
     15 	install -Dm755 tomb-kdb-pbkdf2-getiter ${DESTDIR}${PREFIX}/bin/tomb-kdb-pbkdf2-getiter
     16 	install -Dm755 tomb-kdb-pbkdf2-gensalt ${DESTDIR}${PREFIX}/bin/tomb-kdb-pbkdf2-gensalt
     17 	install -Dm755 tomb-kdb-hexencode ${DESTDIR}${PREFIX}/bin/tomb-kdb-hexencode
     18 	@echo "Tomb-kdb auxiliary binaries installed in ${DESTDIR}${PREFIX}/bin"