summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..1a39c6d179
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+all: scons cscope
+
+scons:
+ scons
+
+sconsi:
+ scons --implicit-deps-unchanged
+
+cscope: cscope.out
+
+cscope.out: cscope.files
+ cscope -b
+
+cscope.files:
+ find . -name '*.[ch]' -o -name '*.cc' > $@
+
+.PHONY: all cscope.files sconsi cscope