Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (13 sloc) 354 Bytes
#!/bin/sh
cd include
rm -f libstalin.a
gcc -c -O2 -fomit-frame-pointer -freg-struct-return xlib-c.c
gcc -c -O2 -fomit-frame-pointer -freg-struct-return gl-c.c
ar rc libstalin.a xlib-c.o gl-c.c
case `uname -s`/`uname -r` in
IRIX*/*) RANLIB=touch;;
SunOS/5.*) RANLIB=touch;;
*) RANLIB=ranlib;;
esac
$RANLIB libstalin.a
rm xlib-c.o gl-c.o