From ccc2af14c1e0f30ae86d916f33332557bc02b83a Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 12 Oct 2015 17:46:16 +0200 Subject: intelvbttool: Add Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add minimal Makefile based on cbmem’s Makefile. The make target `junit.xml` is removed as this is handled differently since commit de9adebb (Add junit.xml code to top Makefile.inc instead of utils). Also the `junit.xml` is removed in the make target `clean`. Additionally, the make target `distclean` is added, as the current junit.xml code in the top `Makefile.inc` requires that. Change-Id: I164b1f7733505bca6248d0711d7ad71d635fa926 Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/11876 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- util/intelvbttool/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 util/intelvbttool/Makefile (limited to 'util/intelvbttool') diff --git a/util/intelvbttool/Makefile b/util/intelvbttool/Makefile new file mode 100644 index 0000000000..1793c4423b --- /dev/null +++ b/util/intelvbttool/Makefile @@ -0,0 +1,35 @@ +## +## This file is part of the coreboot project. +## +## Copyright (C) 2012 The ChromiumOS Authors. All rights reserved. +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc. +## + +PROGRAM = intelvbttool +CC ?= gcc +CFLAGS ?= -O2 +CFLAGS += -Wall -Werror + +all: $(PROGRAM) + +$(PROGRAM): + $(CC) $(CFLAGS) $(CPPFLAGS) $(PROGRAM).c -o $(PROGRAM) + +clean: + rm -f $(PROGRAM) junit.xml + +distclean: clean + +.PHONY: all clean distclean -- cgit v1.2.3