forked from Mirrors/freeswitch
4da77ea5c5
git-svn-id: http://svn.freeswitch.org/svn/local/src/freeswitch@11 d0543943-73ff-0310-b7d9-9358b9ac24b2
19 lines
194 B
Bash
19 lines
194 B
Bash
#!/bin/sh
|
|
pwd=$1
|
|
shift
|
|
mod=$1
|
|
shift
|
|
|
|
make=`which gmake`
|
|
|
|
if [ -z $make ] ; then
|
|
make=`which make`
|
|
fi
|
|
|
|
if [ -f $mod/Makefile ] ; then
|
|
$make -C $mod
|
|
else
|
|
$make -f $pwd/generic_mod.mk -C $mod
|
|
fi
|
|
|