blob: fb9aadefdabc9306d9ed99dbcb8373782bbb4afe [file] [log] [blame]
Paul Menzelccc2af12015-10-12 17:46:16 +02001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2012 The ChromiumOS Authors. All rights reserved.
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; version 2 of the License.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
Paul Menzelccc2af12015-10-12 17:46:16 +020015
16PROGRAM = intelvbttool
17CC ?= gcc
Patrick Rudolph17856b72017-11-11 10:17:53 +010018CFLAGS ?= -O2 -g
Paul Menzelccc2af12015-10-12 17:46:16 +020019CFLAGS += -Wall -Werror
Patrick Rudolph17856b72017-11-11 10:17:53 +010020CFLAGS += -I../../src/commonlib/include
Paul Menzelccc2af12015-10-12 17:46:16 +020021
22all: $(PROGRAM)
23
Patrick Rudolph17856b72017-11-11 10:17:53 +010024$(PROGRAM): $(PROGRAM).c
Paul Menzelccc2af12015-10-12 17:46:16 +020025 $(CC) $(CFLAGS) $(CPPFLAGS) $(PROGRAM).c -o $(PROGRAM)
26
27clean:
28 rm -f $(PROGRAM) junit.xml
29
30distclean: clean
31
32.PHONY: all clean distclean