# $Id: Makefile,v 1.1 2002/02/14 02:16:39 thockin Exp $
# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
# Makefile for CCE persistent Perl

include ../../dynamic.mk

BINS = pperl pperld
LIBS += -L$(CCE_TOPDIR)/common -lcommon

all: $(BINS)

pperl: pperl.c
	$(CC) $(CFLAGS) -o $@ $< $(LIBS)

pperld: pperld.pl
	cp -f $< $@

clean: 
	rm -f $(BINS) .depend

install: all
	mkdir -p $(CCE_BINDIR)
	$(INSTALL_BIN) $(BINS) $(CCE_BINDIR)

depend: 
	# nothing
