diff options
author | Werner Schweer <ws.seh.de> | 2006-06-22 10:32:32 +0000 |
---|---|---|
committer | Werner Schweer <ws.seh.de> | 2006-06-22 10:32:32 +0000 |
commit | 3e46c7ac426aab7f66fe253682a6e43afb43b2fd (patch) | |
tree | 19c9c227a105d0e240813f7f0bf11b81b3f96e22 /Makefile | |
parent | f8b0a0075933fad0db00d7b300b9be282a2734e2 (diff) |
turn gen script into makefile
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 34 |
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 + + |