From 35936f4b71aece84643d7a6627efb73c2a0d9369 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 17 Jun 2009 22:13:48 +0200 Subject: [PATCH] makefile: fix linking --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c474c4..92e9cba 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,8 @@ endif #CFLAGS+=-DDZEN CFLAGS+=$(EXTRA_CFLAGS) -i3status.o: i3status.h +%.o: %.c %.h + $(CC) $(CFLAGS) -c -o $@ $< i3status: i3status.o -- 2.39.5