From 0a171a9c8b10b47d9267714670c611c415c3e804 Mon Sep 17 00:00:00 2001
From: Bert <ber.t@gmx.com>
Date: Sun, 17 Jul 2011 22:16:46 +0200
Subject: Fixed dependency on Makefile & config.h

---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index 9b97a12..e283a0b 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,9 @@ OBJ = $(SRC:.c=.o)
 sxiv:	$(OBJ)
 	$(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
 
-.c.o: Makefile config.h
+$(OBJ): Makefile config.h
+
+.c.o:
 	$(CC) $(CFLAGS) -c -o $@ $<
 
 install: all
-- 
cgit v1.2.3