blob: c3cd857d52a929faf1f311c679f3008824e11318 [file] [log] [blame]
Gaurav Shah322536d2010-01-28 15:01:23 -08001# 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
Gaurav Shahfc70d722010-03-31 13:26:55 -07005SRCS = rollback_index.c tlcl_stub.c utility_stub.c
Gaurav Shah7ca31f32010-02-16 19:04:11 -08006OBJS = $(SRCS:.c=.o)
Gaurav Shahfc70d722010-03-31 13:26:55 -07007INCLUDES += -I./include/
Gaurav Shah322536d2010-01-28 15:01:23 -08008
9all: libcommon.a
10
11libcommon.a: $(OBJS)
Gaurav Shahce0cc302010-03-24 13:48:55 -070012 ar rs $@ $^
Gaurav Shah322536d2010-01-28 15:01:23 -080013
14.c.o: $(OBJS)
15 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
16
17clean:
18 rm -f $(OBJS) libcommon.a