From ce7c8411d7af66904da5e852f01fd95426ccf5c0 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 1 Mar 2021 21:10:28 +0000 Subject: use xlib for copy password --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b425c33..4aa7e94 100755 --- a/Makefile +++ b/Makefile @@ -1,6 +1,10 @@ PREFIX = /usr/local/bin CC = gcc -CFLAGS = -Wall -g $(shell gpgme-config --cflags --libs) # -DDEBUG +CFLAGS = -Wall -g \ + $(shell gpgme-config --cflags --libs) #-DDEBUG +ifdef DISPLAY + CFLAGS += -lX11 -DDISPLAY +endif MAN_PATH = /usr/share/man/man1 SOURCES = src/*.c OBJECTS = *.o -- cgit v1.2.3-18-g5258