summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/Rules.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/Rules.in b/tools/Rules.in
index 56c0903..fed8ecb 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