aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-06-06 23:31:35 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-06-06 23:36:45 -0500
commitd969289bafbbd5f035f8f483746ae824415bd1d7 (patch)
tree186228c9a93ae940332f9313eac3050230949f8e /Makefile
parent50b6630f3d53b6635ce83565ccc4b900fdc15956 (diff)
use LDFLAGS to build dwl target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a8c1c0f..59b2519 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ LDLIBS = `pkg-config --libs $(PKGS)`
# to your build system yourself and provide them in the include path.
all: dwl
dwl: dwl.o util.o
- $(CC) $(LDLIBS) -o $@ dwl.o util.o
+ $(CC) $(LDLIBS) $(LDFLAGS) -o $@ dwl.o util.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