coreboot-libre-fam15h-rdimm/util/bimgtool/Makefile

17 lines
347 B
Makefile
Raw Permalink Normal View History

2024-03-04 11:14:53 +01:00
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 $@ $^