vbendeb | 70e9509 | 2010-06-14 15:41:27 -0700 | [diff] [blame^] | 1 | # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 | # Use of this source code is governed by a BSD-style license that can be | ||||
3 | # found in the LICENSE file. | ||||
4 | |||||
5 | ALL_OBJS = $(ALL_SRCS:%.c=${BUILD_ROOT}/%.o) | ||||
6 | ALL_DEPS = $(ALL_OBJS:%.o=%.o.d) | ||||
7 | |||||
8 | ${BUILD_ROOT}/%.o : %.c | ||||
9 | $(CC) $(CFLAGS) $(INCLUDES) -MMD -MF $@.d -c -o $@ $< | ||||
10 | |||||
11 | -include ${ALL_DEPS} |