forked from Mirrors/freeswitch
19 lines
200 B
Bash
Executable File
19 lines
200 B
Bash
Executable File
#!/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
|
|
|