From 059d157364f3f8361651c23025747883a4f44497 Mon Sep 17 00:00:00 2001 From: Moritz Luedecke Date: Mon, 25 Sep 2017 01:27:59 +0200 Subject: [PATCH] Add variable for pinentry object files --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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