khanat-code-old/code/ryzom/gen_deps.sh
Fabien_HENON 11298004e9 Updating the world_editor_classes.xml file for the guild missions
- Adding new actions for guild missions
- Adding the guild option for some actions
- Adding the nb_guild_members_needed option for the objectives
2011-05-23 16:09:14 +02:00

24 lines
382 B
Bash
Executable file

#!/bin/bash
command=''
sources=''
phase=0
for arg in $*
do
if [ "$phase" == 0 ] && [ "$arg" == '--' ]
then
phase=1
elif [ "$phase" == 0 ]
then
command="$command $arg"
elif [ "$phase" == 1 ]
then
sources="$sources $arg"
fi
done
for src in $sources
do
obj=`echo $src | sed -e 's/.cpp$/.o/'`
$command -MT $obj -M $src
done