# 
# $Id: Makefile,v 1.1 1998/12/09 03:16:31 jtr Exp $
# $Source: /home/jtr/CVS/root/gsubrcperl/Makefile,v $
#
#
# $Log: Makefile,v $
# Revision 1.1  1998/12/09 03:16:31  jtr
# created a Makefile to build a shared library suitable for loading as a
# gsubrc2
#

PERL_CORE_DIR=/ug/master/hpux10/perl-5.004.04/lib/hpux10/5.00404/CORE
INC_GALE=-I/home/egnor/include
INC_PERL=-I${PERL_CORE_DIR}
INCS=${INC_GALE} ${INC_PERL}

CC=cc

CFLAGS=${INCS} -n32
OBJS=gsubrcperl.o
LIBS=-L${PERL_CORE_DIR} -lperl -lm

gsubrcperl.so: ${OBJS}
	${CC} -shared -o $@ ${CFLAGS} ${OBJS} ${LIBS}



clean:
	-rm -f *.o 
	-rm -f *.so
	-rm -f so_*
