aboutsummaryrefslogblamecommitdiff
path: root/dm
blob: 21adf13511cf115098d94ce030b66080334db9cb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
         
 
      
 






                                                                                                    
 
                      
 
           
#!/bin/sh

set -e

if [ `uname` = "Linux" ]; then
    make --version | grep "GNU Make" > /dev/null 2>&1 || { echo "Please install GNU Make"; exit 1; }
    MAKE=`command -v make`
else
    command -v gmake > /dev/null 2>&1 || { echo "Please install GNU Make"; exit 1; }
    MAKE=`command -v gmake`
fi

${MAKE} -f Makefile $@

# vim:ft=sh