From adaa3396edd425312065a134aec99991bd7b9cdd Mon Sep 17 00:00:00 2001 From: Spencer Williams Date: Mon, 14 Apr 2025 15:25:36 -0400 Subject: Add mpc sources --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 866e5a4..1440a9b 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,10 @@ LDFLAGS = -lmpdclient -framework Cocoa OUTPUT_OPTION=-MMD -MP -o $@ BINDIR = /usr/local/bin -OBJ=mpc-bar.o ini.o -DEP=$(OBJ:.o=.d) +OBJ = mpc-bar.o ini.o +MPC_SRC = $(wildcard mpc/*.c) +OBJ += $(MPC_SRC:.c=.o) +DEP = $(OBJ:.o=.d) $(TARGET): $(OBJ) $(CC) $^ $(LDFLAGS) -o $@ -- cgit v1.2.3