| 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 FWTOP := $(shell pwd) | 5 FWTOP := $(shell pwd) |
| 6 LIBDIR = $(FWTOP)/lib | 6 LIBDIR = $(FWTOP)/lib |
| 7 STUBDIR = $(FWTOP)/stub | 7 STUBDIR = $(FWTOP)/stub |
| 8 TESTDIR = $(FWTOP)/linktest | 8 TESTDIR = $(FWTOP)/linktest |
| 9 BUILD_ROOT := ${BUILD}/$(shell basename ${FWTOP}) | 9 BUILD_ROOT := ${BUILD}/$(shell basename ${FWTOP}) |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 test : $(FWLIB) | 43 test : $(FWLIB) |
| 44 $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_ROOT)/a.out \ | 44 $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_ROOT)/a.out \ |
| 45 $(TESTDIR)/main.c $(FWLIB) | 45 $(TESTDIR)/main.c $(FWLIB) |
| 46 | 46 |
| 47 include ../common.mk | 47 include ../common.mk |
| 48 | 48 |
| 49 $(FWLIB) : $(ALL_OBJS) | 49 $(FWLIB) : $(ALL_OBJS) |
| 50 rm -f $@ | 50 rm -f $@ |
| 51 ar qc $@ $^ | 51 ar qc $@ $^ |
| OLD | NEW |