Files
live555/genMakefiles
2023-06-14 14:34:41 +01:00

26 lines
512 B
Bash
Executable File

#!/bin/sh
usage() {
echo "Usage: $0 <os-platform>"
exit 1
}
if [ $# -ne 1 ]
then
usage $*
fi
platform=$1
subdirs="liveMedia groupsock UsageEnvironment BasicUsageEnvironment testProgs mediaServer proxyServer hlsProxy"
for subdir in $subdirs
do
/bin/rm -f $subdir/Makefile
cat $subdir/Makefile.head config.$platform $subdir/Makefile.tail > $subdir/Makefile
chmod a-w $subdir/Makefile
done
/bin/rm -f Makefile
cat Makefile.head config.$1 Makefile.tail > Makefile
chmod a-w Makefile