aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-07-02 09:09:58 +0200
committerMattias Andrée <maandree@kth.se>2023-07-02 09:09:58 +0200
commit2ab5473fc48d91ecce1f11c49e5decdcf821e3d4 (patch)
tree990bb8866d207f8ba7626e7574a323fbadf9c6d0 /config.mk
parentAdd documentation to config.h (diff)
downloadxkbdbind-1.2.tar.gz
xkbdbind-1.2.tar.bz2
xkbdbind-1.2.tar.xz
Improve makefile and add man page1.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..e8e1344
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,10 @@
+PREFIX = /usr
+MANPREFIX = $(PREFIX)/share/man
+
+PACKAGE = xkbdbind
+
+CC = c99
+
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CFLAGS = -Wall -O2 $(CPPFLAGS)
+LDFLAGS = -lxcb -lxcb-keysyms