aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-07-01 18:40:44 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-07-01 18:40:44 +0200
commit83923c1471d2d75c2872a5498258573ecfa05013 (patch)
tree14580b59c47e2806631f2b8f29ee686ce19764d5 /Makefile
parentcf19637336ad36f6e58519c2696742c079e6bbf8 (diff)
downloaddwim-83923c1471d2d75c2872a5498258573ecfa05013.tar.gz
Add xchord utility
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab5f525..415b07f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,9 @@
BINDIR ?= /usr/local/bin
+CFLAGS = -I/usr/X11R7/include
+LDFLAGS = -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -lXi
+
+xchord: xchord.c
install:
- ln -s $(PWD)/dwim $(BINDIR)/dwim
+ ln -sf $(PWD)/dwim $(BINDIR)/dwim
+ install xchord /usr/local/bin