aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkolunmi <113054217+kolunmi@users.noreply.github.com>2023-02-14 16:36:10 -0700
committerGitHub <noreply@github.com>2023-02-14 16:36:10 -0700
commit6ff69669c3d77e47792103c7a71b93a7a14b885c (patch)
tree46d18a51150aad8e3608f112d15df14699fcaf9e /Makefile
parent1ab43e173a353c81f068aa5b4d985dd44577fa60 (diff)
parent4a7a99fc5c5e128d83447efa1d4d5924b3c3d02f (diff)
downloaddwlb-6ff69669c3d77e47792103c7a71b93a7a14b885c.tar.gz
Merge pull request #1 from podit/configuration
Configuration
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