aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-07-17 22:16:46 +0200
committerBert <ber.t@gmx.com>2011-07-17 22:16:46 +0200
commit0a171a9c8b10b47d9267714670c611c415c3e804 (patch)
treef9a9bd23561924c707c15ff2c7cbd0b6745ff807 /Makefile
parent272ebff865f6269b257b3a2409708eee25038fdd (diff)
Fixed dependency on Makefile & config.h
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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