summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5366d696d081cc73145b19a6067a1f5a43dac3e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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