summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWerner Schweer <ws.seh.de>2006-06-22 10:32:32 +0000
committerWerner Schweer <ws.seh.de>2006-06-22 10:32:32 +0000
commit3e46c7ac426aab7f66fe253682a6e43afb43b2fd (patch)
tree19c9c227a105d0e240813f7f0bf11b81b3f96e22 /Makefile
parentf8b0a0075933fad0db00d7b300b9be282a2734e2 (diff)
turn gen script into makefile
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100755
index 00000000..5366d696
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,34 @@
+#
+#
+#
+#
+
+default:
+ if test ! -d build; \
+ then \
+ echo "+creating build directory"; \
+ mkdir build; \
+ echo "+entering build directory"; \
+ cd build; \
+ # HACK: \
+ cp ../muse/all.h . ; \
+ echo "+calling cmake" ; \
+ cmake ../muse ; \
+ else \
+ echo "+entering build directory"; \
+ cd build; \
+ fi; \
+ echo "+start top level make..."; \
+ make -f Makefile
+
+
+clean:
+ -rm -rf build
+
+dist:
+ cd build; make package_source
+
+package:
+ cd build; make package
+
+