summaryrefslogtreecommitdiff
path: root/pinentry/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pinentry/Makefile')
-rw-r--r--pinentry/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/pinentry/Makefile b/pinentry/Makefile
new file mode 100644
index 0000000..71fce25
--- /dev/null
+++ b/pinentry/Makefile
@@ -0,0 +1,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