1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for bootconfig command
6 HEADER = include/linux/bootconfig.h
7 CFLAGS = -Wall -g -I./include
13 bootconfig: ../../lib/bootconfig.c main.c $(HEADER)
14 $(CC) $(filter %.c,$^) $(CFLAGS) -o $@
17 install bootconfig $(DESTDIR)$(bindir)
23 $(RM) -f *.o bootconfig