~ubuntu-branches/ubuntu/karmic/gtk-gnutella/karmic

« back to all changes in this revision

Viewing changes to mkdep

  • Committer: Bazaar Package Importer
  • Author(s): Anand Kumria
  • Date: 2005-08-04 11:32:05 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050804113205-q746i4lgo3rtlegn
Tags: 0.95.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
flags=""
3
 
case "$@" in
4
 
*--*)
5
 
        for arg
6
 
        do
7
 
                shift
8
 
                case "$arg" in
9
 
                --) break;;
10
 
                *) flags="$flags $arg";;
11
 
                esac
12
 
        done;;
13
 
esac
14
 
for srcfile
15
 
do
16
 
        /usr/bin/cpp -M -I. -Wall $flags $srcfile 2>/dev/null
17
 
done
18
 
exit 0