Add variable for pinentry object files
This commit is contained in:
parent
ec8934d17e
commit
059d157364
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -5,6 +5,7 @@ include config.mk
|
||||||
|
|
||||||
SRC = pinentry-dmenu.c drw.c util.c
|
SRC = pinentry-dmenu.c drw.c util.c
|
||||||
OBJ = ${SRC:.c=.o}
|
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
|
all: options pinentry-dmenu
|
||||||
|
|
||||||
|
@ -29,7 +30,7 @@ pinentry:
|
||||||
|
|
||||||
pinentry-dmenu: pinentry pinentry-dmenu.o drw.o util.o
|
pinentry-dmenu: pinentry pinentry-dmenu.o drw.o util.o
|
||||||
@echo CC -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:
|
clean:
|
||||||
@echo cleaning
|
@echo cleaning
|
||||||
|
|
Loading…
Reference in a new issue