summaryrefslogtreecommitdiffabout
path: root/Makefile
Unidiff
Diffstat (limited to 'Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dda743d..15c7c20 100644
--- a/Makefile
+++ b/Makefile
@@ -62,17 +62,17 @@ ifndef V
62 QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \ 62 QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \
63 $(MAKE) $(PRINT_DIR) -C $$subdir 63 $(MAKE) $(PRINT_DIR) -C $$subdir
64endif 64endif
65 65
66# 66#
67# Define a pattern rule for automatic dependency building 67# Define a pattern rule for automatic dependency building
68# 68#
69%.d: %.c 69%.d: %.c
70 $(QUIET_MM)$(CC) $(CFLAGS) -MM $< | sed -e 's/\($*\)\.o:/\1.o $@:/g' >$@ 70 $(QUIET_MM)$(CC) $(CFLAGS) -MM -MP $< | sed -e 's/\($*\)\.o:/\1.o $@:/g' >$@
71 71
72# 72#
73# Define a pattern rule for silent object building 73# Define a pattern rule for silent object building
74# 74#
75%.o: %.c 75%.o: %.c
76 $(QUIET_CC)$(CC) -o $*.o -c $(CFLAGS) $< 76 $(QUIET_CC)$(CC) -o $*.o -c $(CFLAGS) $<
77 77
78 78