summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-07-06 23:28:49 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-07-06 23:41:42 -0500
commit0eff78d6c268f7dc1a16861f051d9cd2108161a4 (patch)
tree528d0f9c0ca46d059176d7143fe37a8e7419976d
parentc6d97f1db741185841c20f3c1771e359acc9b66c (diff)
include DWLCFLAGS into linking step
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2c1782b..6a8323b 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ LDLIBS = `pkg-config --libs $(PKGS)` $(LIBS)
# to your build system yourself and provide them in the include path.
all: dwl
dwl: dwl.o util.o
- $(CC) dwl.o util.o $(LDLIBS) $(LDFLAGS) -o $@
+ $(CC) dwl.o util.o $(LDLIBS) $(LDFLAGS) $(DWLCFLAGS) -o $@
dwl.o: dwl.c config.mk config.h client.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h idle-protocol.h
util.o: util.c util.h