4 # Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 DEPFILES = $(OBJECTS:%.o=%.d)
16 $(MAKEROOT)/libs-$(HOST_ARCH):
17 mkdir -p $(MAKEROOT)/libs-$(HOST_ARCH)
20 install: $(MAKEROOT)/libs-$(HOST_ARCH) $(LIBRARY)
21 cp $(LIBRARY) $(MAKEROOT)/libs-$(HOST_ARCH)
23 $(LIBRARY): $(OBJECTS)
27 $(BUILD_CC) -c $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@
30 $(BUILD_CXX) -c $(BUILD_CPPFLAGS) $(BUILD_CXXFLAGS) $< -o $@
34 @rm -f $(OBJECTS) $(LIBRARY) $(DEPFILES)