summaryrefslogtreecommitdiff
path: root/util/intelvbttool/Makefile
blob: 86081e0f394fc2647514d280938156643c9a6e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
##
## SPDX-License-Identifier: GPL-2.0-only

PROGRAM = intelvbttool
CC ?= gcc
CFLAGS ?= -O2 -g
CFLAGS += -Wall -Werror
CFLAGS += -I../../src/commonlib/include -I ../../src/commonlib/bsd/include

all: $(PROGRAM)

$(PROGRAM): $(PROGRAM).c
	$(CC) $(CFLAGS) $(CPPFLAGS) $(PROGRAM).c -o $(PROGRAM)

clean:
	rm -f $(PROGRAM) junit.xml

distclean: clean

.PHONY: all clean distclean