From 9381ae971066a42ad00def424c29370ced09eb60 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 19 Dec 2015 16:32:12 +0000 Subject: Added menuconfig support. Added default config files for Linux and NetBSD. Added kconf2h tool. Small fixes to README --- tools/kconf2h/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tools/kconf2h/Makefile (limited to 'tools/kconf2h/Makefile') diff --git a/tools/kconf2h/Makefile b/tools/kconf2h/Makefile new file mode 100644 index 0000000..b5a42c3 --- /dev/null +++ b/tools/kconf2h/Makefile @@ -0,0 +1,20 @@ +PROJECT=kconf2h +CC=gcc +CFLAGS= +SOURCES=$(PROJECT)_parser.c +OBJECTS=$(SOURCES:.c=.o) + +all: clean ragel $(OBJECTS) $(PROJECT) + +$(PROJECT): + $(CC) $(CFLAGS) $(OBJECTS) $(PROJECT).c -o $(PROJECT) + +ragel: + ragel $(PROJECT)_parser.ragel + +%.o: %.c + $(CC) $(CFLAGS) -c $< + +clean: + rm -f $(PROJECT) + rm -f *.o -- cgit v1.2.3