File: asm

package info (click to toggle)
mocka 9905-2
  • links: PTS
  • area: non-free
  • in suites: potato, sarge, woody
  • size: 5,436 kB
  • ctags: 160
  • sloc: asm: 23,203; makefile: 124; sh: 102; ansic: 23
file content (13 lines) | stat: -rwxr-xr-x 197 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

case $1 in
'-elf' ) AS=/usr/bin/as ; shift ;;
*      ) AS=/usr/i486-linuxaout/bin/as ;;
esac;

case $1 in
'-g' ) OPTIONS=  ; shift ;;
*    ) OPTIONS= ;;
esac;

$AS $OPTIONS -o $1.o $1.s