22 lines
476 B
Bash
22 lines
476 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
BASEDIR=~/projects/git
|
||
|
|
||
|
gen_links() {
|
||
|
DIR=$1
|
||
|
FILES=$*
|
||
|
for f in $FILES; do
|
||
|
echo "Linking $f"
|
||
|
ln -sf $DIR/$f $f
|
||
|
done
|
||
|
}
|
||
|
|
||
|
#DIR=$BASEDIR/titan.TestPorts.UNIX_DOMAIN_SOCKETasp/src
|
||
|
#FILES="UD_PT.cc UD_PT.hh UD_PortType.ttcn UD_Types.ttcn"
|
||
|
#gen_links $DIR $FILES
|
||
|
|
||
|
DIR=$BASEDIR/titan.ProtocolModules.SDP/src
|
||
|
FILES="SDP_EncDec.cc SDP_Types.ttcn SDP_parse_.tab.c SDP_parse_.tab.h SDP_parse_parser.h SDP_parser.l
|
||
|
SDP_parser.y lex.SDP_parse_.c"
|
||
|
gen_links $DIR $FILES
|