aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig_parser/Makefile
blob: f582673e0021c52d67784484f893aa0f34d393ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: all clean
.SUFFIXES:

all: parser

KCONFIG_PREFIX = ../shared/kconfig
include $(KCONFIG_PREFIX)/files.mk

SRC  = parser.c \
	       cnfexpr.c \
	       symlist.c \
	       output.c
CFLAGS = -O0 -w -ggdb

parser: $(SRC) $(KCONFIG_SRC)
	gcc $(CFLAGS) -o $@ $^ -I$(KCONFIG_PREFIX)

clean::
	$(RM) parser