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