blob: 7d50d30e1afdcae16c0258284522570a83897ef4 [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
18CFLAGS ?= -O2
19CFLAGS += -Wall -Werror
20
21all: $(PROGRAM)
22
23$(PROGRAM):
24 $(CC) $(CFLAGS) $(CPPFLAGS) $(PROGRAM).c -o $(PROGRAM)
25
26clean:
27 rm -f $(PROGRAM) junit.xml
28
29distclean: clean
30
31.PHONY: all clean distclean