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 = rollback_index.c tlcl_stub.c utility_stub.c | 5 SRCS = boot_device_stub.c rollback_index.c tlcl_stub.c utility_stub.c |
6 OBJS = $(SRCS:.c=.o) | 6 OBJS = $(SRCS:.c=.o) |
7 INCLUDES += -I./include/ | 7 INCLUDES += -I./include/ |
8 | 8 |
9 all: libcommon.a | 9 all: libcommon.a |
10 | 10 |
11 libcommon.a: $(OBJS) | 11 libcommon.a: $(OBJS) |
12 ar rs $@ $^ | 12 ar rs $@ $^ |
13 | 13 |
14 .c.o: $(OBJS) | 14 .c.o: $(OBJS) |
15 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ | 15 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ |
16 | 16 |
17 clean: | 17 clean: |
18 rm -f $(OBJS) libcommon.a | 18 rm -f $(OBJS) libcommon.a |
OLD | NEW |