home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 February / PCWK0296.iso / sharewar / dos / program / gs300sr1 / gs300sr1.exe / CCGS < prev    next >
Text File  |  1994-07-27  |  754b  |  36 lines

  1. # This file is a hack.  If `make' had macros with parameters,
  2. # this file would be unnecessary!
  3. if ( test -n "$6" ) then
  4.     ./ansi2knr $6 _temp_$$.c
  5.     $1 $2 $3 -c _temp_$$.c
  6.     rm -f $5
  7.     mv _temp_$$.o $5
  8. else
  9. if ( test -n "$5" ) then
  10.     ./ansi2knr $5 _temp_$$.c
  11.     $1 $2 -c _temp_$$.c
  12.     rm -f $4
  13.     mv _temp_$$.o $4
  14. else
  15. if ( test -n "$4" ) then
  16.     ./ansi2knr $4 _temp_$$.c
  17.     $1 $2 $3 -c _temp_$$.c
  18.     rm -f `basename $4 .c`.o
  19.     mv _temp_$$.o `basename $4 .c`.o
  20. else
  21. if ( test -n "$3" ) then
  22.     ./ansi2knr $3 _temp_$$.c
  23.     $1 $2 -c _temp_$$.c
  24.     rm -f `basename $3 .c`.o
  25.     mv _temp_$$.o `basename $3 .c`.o
  26. else
  27.     ./ansi2knr $2 _temp_$$.c
  28.     $1 -c _temp_$$.c
  29.     rm -f `basename $2 .c`.o
  30.     mv _temp_$$.o `basename $2 .c`.o
  31. fi
  32. fi
  33. fi
  34. fi
  35. rm -f _temp_$$.c
  36.