OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 SRCS = utility_stub.c | 5 SRCS = utility_stub.c tlcl_stub.c |
6 OBJS = $(SRCS:.c=.o) | 6 OBJS = $(SRCS:.c=.o) |
7 | 7 |
8 all: libcommon.a | 8 all: libcommon.a |
9 | 9 |
10 libcommon.a: $(OBJS) | 10 libcommon.a: $(OBJS) |
11 » ar rs $@ $< | 11 » ar rs $@ $^ |
12 | 12 |
13 .c.o: $(OBJS) | 13 .c.o: $(OBJS) |
14 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ | 14 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ |
15 | 15 |
16 clean: | 16 clean: |
17 rm -f $(OBJS) libcommon.a | 17 rm -f $(OBJS) libcommon.a |
OLD | NEW |