Files
David Hendricks 6d6d5fecc0 firmware/coreboot: Initial import via subtree merge
Signed-off-by: David Hendricks <dhendricks@fb.com>
2018-06-14 13:12:30 -07:00

17 lines
347 B
Makefile

obj ?= $(CURDIR)
HOSTCC ?= gcc
CFLAGS ?= -g
CFLAGS += -D_7ZIP_ST
CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes
CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
CFLAGS += -Wstrict-aliasing -Wshadow -Werror
all: $(obj)/bimgtool
clean:
rm -f $(obj)/bimgtool
$(obj)/bimgtool: bimgtool.c
$(HOSTCC) $(CFLAGS) -o $@ $^