jehanne/sys/src/lib/draw/draw.rc.build

70 lines
1.2 KiB
Plaintext
Raw Normal View History

#!/cmd/rc
if ( ~ 0 $#BUILD_INITIALIZED ) . $JEHANNE/arch/rc/lib/build/utils.rc
rm -f *.o *.tag.*
$CC \
alloc.c \
allocimagemix.c \
arith.c \
bezier.c \
border.c \
buildfont.c \
bytesperline.c \
chan.c \
cloadimage.c \
computil.c \
creadimage.c \
debug.c \
defont.c \
draw.c \
drawrepl.c \
egetrect.c \
ellipse.c \
emenuhit.c \
event.c \
fmt.c \
font.c \
freesubfont.c \
getdefont.c \
getrect.c \
getsubfont.c \
icossin.c \
icossin2.c \
init.c \
keyboard.c \
line.c \
menuhit.c \
mkfont.c \
mouse.c \
newwindow.c \
openfont.c \
poly.c \
loadimage.c \
readcolmap.c \
readimage.c \
readsubfont.c \
rectclip.c \
replclipr.c \
rgb.c \
scroll.c \
string.c \
stringbg.c \
stringsubfont.c \
stringwidth.c \
subfont.c \
subfontcache.c \
subfontname.c \
unloadimage.c \
namedimage.c \
window.c \
writecolmap.c \
writeimage.c \
writesubfont.c \
$STACKCHECK_CFLAGS \
-c \
$CFLAGS
prependLibraryName libdraw.a
$AR -rs $JEHANNE/arch/$ARCH/lib/libdraw.a *.o
$RANLIB $JEHANNE/arch/$ARCH/lib/libdraw.a
rm *.o