Gaurav Shah | 322536d | 2010-01-28 15:01:23 -0800 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
Gaurav Shah | 7ca31f3 | 2010-02-16 19:04:11 -0800 | [diff] [blame] | 5 | SRCS = utility_stub.c |
| 6 | OBJS = $(SRCS:.c=.o) |
Gaurav Shah | 322536d | 2010-01-28 15:01:23 -0800 | [diff] [blame] | 7 | |
| 8 | all: libcommon.a |
| 9 | |
| 10 | libcommon.a: $(OBJS) |
| 11 | ar rs $@ $< |
| 12 | |
| 13 | .c.o: $(OBJS) |
| 14 | $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ |
| 15 | |
| 16 | clean: |
| 17 | rm -f $(OBJS) libcommon.a |