From: Michael Stapelberg Date: Wed, 17 Jun 2009 20:13:48 +0000 (+0200) Subject: makefile: fix linking X-Git-Tag: 1.1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=35936f4b71aece84643d7a6627efb73c2a0d9369;p=i3%2Fi3status makefile: fix linking --- 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