commit 65e0c35b028b849c8b407da6d08d096118191820 from: Brett Fisher date: Fri May 15 19:16:38 2026 UTC config.def.h: Adopt conventional Make variable and target naming. - Rename LIBS to LDLIBS for standard implicit rule compatibility. - Add explicit 'all' target as default build entry point. - Declare 'all' as phony. commit - e8198343bce4d8f958d9958a8a8d089ab0f6f9ad commit + 65e0c35b028b849c8b407da6d08d096118191820 blob - a89e8abd1a5a4f615f2d0a4b8afc1dd668c10200 blob + 2949e754c40700a115c6f9441cd694700800b271 --- Makefile +++ Makefile @@ -9,10 +9,12 @@ PREFIX ?= $(HOME)/.local CC ?= cc CFLAGS = -std=c99 -Wall -Wextra $(shell pkg-config --cflags xft) LDFLAGS = -LIBS = $(shell pkg-config --libs xft x11) +LDLIBS = $(shell pkg-config --libs xft x11) +all: bxbar + bxbar: bxbar.o - $(CC) $(LDFLAGS) -o $@ bxbar.o $(LIBS) + $(CC) $(LDFLAGS) -o $@ bxbar.o $(LDLIBS) config.h: [ -f config.h ] || cp config.def.h config.h @@ -30,5 +32,5 @@ install: uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/bxbar -.PHONY: clean install uninstall +.PHONY: all clean install uninstall