aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-03-01 21:10:28 +0000
committerJoursoir <chat@joursoir.net>2021-03-01 21:10:28 +0000
commitce7c8411d7af66904da5e852f01fd95426ccf5c0 (patch)
tree29a0e1545cf2aa38d128e9031c9495f26582fa18 /Makefile
parent10b676a2fee216cc00d2ca090a93a23d8b47241f (diff)
downloadlock-password-ce7c8411d7af66904da5e852f01fd95426ccf5c0.tar.gz
lock-password-ce7c8411d7af66904da5e852f01fd95426ccf5c0.tar.bz2
lock-password-ce7c8411d7af66904da5e852f01fd95426ccf5c0.zip
use xlib for copy password
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile6
1 files changed, 5 insertions, 1 deletions
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