blob: 4ccbe92b9e9601d07ec0e56272333e61b924e515 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
## This file is part of the coreboot project.
##
## SPDX-License-Identifier: GPL-2.0-or-later
obj = mec1322
HOSTCC := $(if $(shell type gcc 2>/dev/null),gcc,cc)
ifeq ($(VERIFY_SIG),1)
CFLAGS += -DVERIFY_SIG
LIBS := -lcrypto
endif
all: $(obj)
%: %.c
$(HOSTCC) $(CFLAGS) -Wall -o $@ $< $(LIBS)
clean:
rm -f $(obj)
.PHONY: all clean
|