summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-01-12 20:36:18 +0000
committerMartin Mares <mj@ucw.cz>1999-01-12 20:36:18 +0000
commitcceb3e7d2fafcf3acee1db1d762ed697863b6f3b (patch)
treeb75706d7a01d74fd23e77d90f9d219d68387dc62 /tools
parent663683a575cb170c656db06770b490037ecf3db7 (diff)
Fixed trivial bug in naming of `depend' file. Argh.
Diffstat (limited to 'tools')
-rw-r--r--tools/Rules.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/Rules.in b/tools/Rules.in
index 56c0903b..fed8ecbe 100644
--- a/tools/Rules.in
+++ b/tools/Rules.in
@@ -54,13 +54,13 @@ all.o: $(objs)
endif
%.o: $(src-path)%.c
- $(CC) $(CFLAGS) -o $@ -c $^
+ $(CC) $(CFLAGS) -o $@ -c $<
depend:
gcc $(CPPFLAGS) -MM $(addprefix $(src-path),$(source)) >depend
-ifneq ($(wildcard .depend),)
-include .depend
+ifneq ($(wildcard depend),)
+include depend
endif
endif