aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpodit <podit@podit.dev>2023-02-14 00:16:13 +0000
committerpodit <podit@podit.dev>2023-02-14 00:20:33 +0000
commitb333822f244fde91226eb505e70869779e11dd15 (patch)
treedb150275a30d3eee244a203937eac2639c4c6e2f /Makefile
parent1ab43e173a353c81f068aa5b4d985dd44577fa60 (diff)
downloaddwlb-b333822f244fde91226eb505e70869779e11dd15.tar.gz
moved all configurable defaults to separate header
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a4aca0b..06bafc1 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,9 @@ CFLAGS += -Wall -Wextra -Wno-unused-parameter -Wno-format-truncation -g
all: $(BINS)
+config.h:
+ cp config.def.h $@
+
clean:
$(RM) $(BINS) $(addsuffix .o,$(BINS))
@@ -44,7 +47,7 @@ wlr-layer-shell-unstable-v1-protocol.c:
wlr-layer-shell-unstable-v1-protocol.o: wlr-layer-shell-unstable-v1-protocol.h
-dwlb.o: utf8.h xdg-shell-protocol.h xdg-output-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.h
+dwlb.o: utf8.h config.h xdg-shell-protocol.h xdg-output-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.h
# Protocol dependencies
dwlb: xdg-shell-protocol.o xdg-output-unstable-v1-protocol.o wlr-layer-shell-unstable-v1-protocol.o