summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMoritz Luedecke <ritze@skweez.net>2017-09-25 01:27:59 +0200
committerMoritz Luedecke <ritze@skweez.net>2017-09-25 01:27:59 +0200
commit059d157364f3f8361651c23025747883a4f44497 (patch)
tree2853a37ce5c613c19b01e63dabef2fdc16dafac3 /Makefile
parentec8934d17e902c3040a751b66a6c8eaf16e26443 (diff)
Add variable for pinentry object files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6723ded..23a0cab 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ include config.mk
SRC = pinentry-dmenu.c drw.c util.c
OBJ = ${SRC:.c=.o}
+OBJ_PIN = pinentry/pinentry.o pinentry/util.o pinentry/password-cache.o pinentry/argparse.o pinentry/secmem.o
all: options pinentry-dmenu
@@ -29,7 +30,7 @@ pinentry:
pinentry-dmenu: pinentry pinentry-dmenu.o drw.o util.o
@echo CC -o $@
- @${CC} -o $@ pinentry-dmenu.o drw.o util.o pinentry/pinentry.o pinentry/util.o pinentry/password-cache.o pinentry/argparse.o pinentry/secmem.o ${LDFLAGS} -lassuan -lgpgme -lgpg-error -lconfig
+ @${CC} -o $@ ${OBJ} ${OBJ_PIN} ${LDFLAGS} -lassuan -lgpgme -lgpg-error -lconfig
clean:
@echo cleaning