From 35936f4b71aece84643d7a6627efb73c2a0d9369 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 17 Jun 2009 22:13:48 +0200 Subject: makefile: fix linking --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3