Skip to content

Commit

Permalink
use LDFLAGS to build dwl target
Browse files Browse the repository at this point in the history
  • Loading branch information
sevz17 committed Jun 7, 2022
1 parent 50b6630 commit d969289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d969289

Please sign in to comment.