summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMakefile34
-rwxr-xr-xgen27
2 files changed, 34 insertions, 27 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
+
+
diff --git a/gen b/gen
deleted file mode 100755
index 6097c160..00000000
--- a/gen
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-#
-# out of source build of MusE
-# all generated files go into subdirectory "build"
-#
-
-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
-