aboutsummaryrefslogtreecommitdiff
path: root/scripts/parse_kconfig/Makefile
blob: 85476176c50e23995730d25a9b50d9ae47ffa13c (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: parse

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

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

parse: $(SRC) $(KCONFIG_SRC)
	gcc $(CFLAGS) -o $@ $^ -I../shared

clean::
	$(RM) parser