From 4734d75c30520e73f81b69b84ae5be7eb152fcf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 26 Mar 2015 16:17:01 +0100 Subject: Implemented global Makefile This global makefile can execute main_loop as also clean whole project. --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..16f272f --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ + +all: kconfig_parser + +kconfig_parser: + @$(MAKE) -C scripts/kconfig_parser/ + +main_loop: kconfig_parser + scripts/main_loop.py + + +clean: + @$(MAKE) -C scripts/kconfig_parser/ clean + $(RM) linux/.config + $(RM) -r build + +# Linux has separate clean option because it takes more time and because in most of the time it is not required clean +clean_linux: + @$(MAKE) -C linux clean -- cgit v1.2.3