aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-03-26 16:17:01 +0100
committerKarel Kočí <cynerd@email.cz>2015-03-26 16:17:01 +0100
commit4734d75c30520e73f81b69b84ae5be7eb152fcf1 (patch)
tree0a96255d661aeca9581e4c0c1a3542aba16af58e /Makefile
parentd57167cee8c4059d3eab778934f98c9fd9cedcb5 (diff)
downloadlinux-conf-perf-4734d75c30520e73f81b69b84ae5be7eb152fcf1.tar.gz
linux-conf-perf-4734d75c30520e73f81b69b84ae5be7eb152fcf1.tar.bz2
linux-conf-perf-4734d75c30520e73f81b69b84ae5be7eb152fcf1.zip
Implemented global Makefile
This global makefile can execute main_loop as also clean whole project.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
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