aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:23:09 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:23:09 +0100
commit5d331ca804c730065a9e82dd262f634fed5b84fb (patch)
tree4d7dab20a8d6cad74a56c613306ac7161e351634 /Makefile
parentUpdate e-mail (diff)
downloadxkbdbind-master.tar.gz
xkbdbind-master.tar.bz2
xkbdbind-master.tar.xz
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 018f97c..e55ed9d 100644
--- a/Makefile
+++ b/Makefile
@@ -13,12 +13,12 @@ xkbdbind: $(OBJ) $(HDR)
$(CC) -o $@ $(OBJ) $(LDFLAGS)
.c.o:
- $(CC) -c -o $@ $< $(CFLAGS)
+ $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
install: xkbdbind
- mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
- mkdir -p -- "$(DESTDIR)$(PREFIX)/src/$(PACKAGE)"
- mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1"
+ mkdir -p -- "$(DESTDIR)$(PREFIX)/bin/"
+ mkdir -p -- "$(DESTDIR)$(PREFIX)/src/$(PACKAGE)/"
+ mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1/"
cp -- xkbdbind "$(DESTDIR)$(PREFIX)/bin/"
cp -- $(OBJ:.o=.c) $(HDR) Makefile "$(DESTDIR)$(PREFIX)/src/$(PACKAGE)/"
test ! -e -- "$(DESTDIR)$(PREFIX)/src/$(PACKAGE)/config.mk"