From b333822f244fde91226eb505e70869779e11dd15 Mon Sep 17 00:00:00 2001 From: podit Date: Tue, 14 Feb 2023 00:16:13 +0000 Subject: moved all configurable defaults to separate header --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3