summaryrefslogtreecommitdiff
path: root/common/Makefile
blob: b9b4a5129b7e7f3886ea0d5ef4651e09acf64763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

SRCS = utility_stub.c tlcl_stub.c
OBJS = $(SRCS:.c=.o)

all:	libcommon.a

libcommon.a:	$(OBJS)
	ar rs $@ $^

.c.o:	$(OBJS)
	$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@

clean: 
	rm -f $(OBJS) libcommon.a