aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a8a4c78
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+
+DIRS = src c_src demo
+
+all clean:
+ @set -e ; \
+ for d in $(DIRS) ; do \
+ if [ -d $$d ]; then ( cd $$d && $(MAKE) $@ ) || exit 1 ; fi ; \
+ done
+
+debug:
+ @set -e ; \
+ for d in $(DIRS) ; do \
+ if [ -d $$d ]; then ( cd $$d && $(MAKE) TYPE=debug ) || exit 1 ; fi ; \
+ done
+
+
+
+# possibly with --with-slang-include arg
+conf:
+ (cd config; ./configure)
+
+