summaryrefslogtreecommitdiff
path: root/pinentry/Makefile
blob: 71fce25f1773bea2bdb0a7f26b5cbe6393e7bc0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include ../config.mk

SRC = pinentry.c argparse.c password-cache.c
OBJ = ${SRC:.c=.o}

all: pinentry

.c.o:
	@echo CC $<
	@${CC} -c ${CFLAGS} $<

${OBJ}: pinentry.h argparse.h password-cache.h memory.h

pinentry: pinentry.o argparse.o password-cache.o secmem.o

clean:
	@echo cleaning
	@rm -f ${OBJ}

.PHONY: all clean pinentry