1 # Copyright (c) 2013 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 5 CPPFLAGS += -Wall 6 7 # Add pci library on x86 8 ifneq (,$(filter $(shell uname -m),x86_64 i686)) 9 LDLIBS += -lpci 10 endif 11 12 TARGET = smm 13 14 all: $(TARGET) 15 16 clean: 17 $(RM) $(TARGET) 18