mb/intel/shadowmountain: Enable RTD3 for SD card
[coreboot.git] / util / archive / Makefile
blobd4b58f765f930f988032f19dc79ffd8d6c88ada0
1 PROGRAM = archive
2 HOSTCC ?= gcc
3 WERROR=-Werror
4 CFLAGS=-O2 -Wall -Wextra -Wshadow ${WERROR}
6 SRCS = $(PROGRAM).c
8 all: $(PROGRAM)
10 $(PROGRAM): $(SRCS)
11 $(HOSTCC) $(CFLAGS) -o $@ $^
13 clean:
14 rm -f $(PROGRAM) *.o
16 distclean: clean
18 help:
19 @echo "${PROGRAM}: Concatenate files and create an archive"
20 @echo "Targets: all, clean, distclean, help"
21 @echo "To disable warnings as errors, run make as:"
22 @echo " make all WERROR=\"\""
24 .PHONY: all clean distclean help