#!/bin/sh
# This is a libtool-oriented build script to make just the count-activation
# library.  It may be helpful to get shared libs working on a some systems.
#
if [ $1 = "clean" ]
then
	rm -rf .libs *.lo *.la
else
	CC='gcc'
	CFLAGS='-O4 -fomit-frame-pointer'
	libtool $CC $CFLAGS -c profil.c
	libtool $CC $CFLAGS profil.lo -o libprofil.la -rpath `pwd`/.libs
fi
