commit a244005b82e8763a246451a035d0372e5aa1c4dc from: Brett Fisher date: Thu May 14 15:16:31 2026 UTC Makefile: Set variables and build rules. commit - c0187e8710c518d632c35ae4f56cf9d12c3292c9 commit + a244005b82e8763a246451a035d0372e5aa1c4dc blob - aa72a8378a92c80101da1523d24c9c6003ae72e3 blob + 7a3e7be9c3d727dff6b2e970ba151c3a5aae7c78 --- Makefile +++ Makefile @@ -10,13 +10,13 @@ CC ?= cc CFLAGS = -std=c99 -Wall -Wextra $(shell pkg-config --cflags x11) # Enable debug output (uncomment to use): # CFLAGS += -DDEBUG -LDFLAGS = $(shell pkg-config -libs x11) -LIBS = -lX11 +LDFLAGS = +LDLIBS = $(shell pkg-config -libs x11) all: bxhkd bxhkd: bxhkd.o - $(CC) $(LDFLAGS) -o $@ bxhkd.o $(LIBS) + $(CC) $(LDFLAGS) -o $@ bxhkd.o $(LDLIBS) config.h: [ -f config.h ] || cp config.def.h config.h