2015-11-23 15:08:20 +01:00
|
|
|
include ../config.mk
|
|
|
|
|
2015-11-24 16:54:37 +01:00
|
|
|
SRC = util.c pinentry.c argparse.c password-cache.c
|
2015-11-23 15:08:20 +01:00
|
|
|
OBJ = ${SRC:.c=.o}
|
|
|
|
|
|
|
|
all: pinentry
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
@echo CC $<
|
|
|
|
@${CC} -c ${CFLAGS} $<
|
|
|
|
|
2015-11-24 16:54:37 +01:00
|
|
|
${OBJ}: pinentry.h argparse.h password-cache.h memory.h util.h
|
2015-11-23 15:08:20 +01:00
|
|
|
|
2015-11-24 16:54:37 +01:00
|
|
|
pinentry: pinentry.o argparse.o password-cache.o secmem.o util.o
|
2015-11-23 15:08:20 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
@echo cleaning
|
|
|
|
@rm -f ${OBJ}
|
|
|
|
|
|
|
|
.PHONY: all clean pinentry
|