makefile: fix linking

This commit is contained in:
Michael Stapelberg 2009-06-17 22:13:48 +02:00
parent a14045572d
commit 35936f4b71

View File

@ -15,7 +15,8 @@ endif
#CFLAGS+=-DDZEN
CFLAGS+=$(EXTRA_CFLAGS)
i3status.o: i3status.h
%.o: %.c %.h
$(CC) $(CFLAGS) -c -o $@ $<
i3status: i3status.o