####################################################
# Copyright (C) 2001-2003, CompHEP Collaboration
#------------------------------------------------------
# Author: Sherstnev                                #
# Makefile, v1.0 10/03/2002                        #
#--------------------------------
# $Id: Makefile,v 1.6 2003/08/21 10:31:12 sherstnv Exp $
#
# $Log: Makefile,v $
# Revision 1.6  2003/08/21 10:31:12  sherstnv
# Izmenena sistema nazvaniya bibliotek CompHEP
#
# Revision 1.5  2003/06/27 13:04:39  sherstnv
# All libraries are transfered to the lib directroy
#
# Revision 1.4  2003/06/25 18:46:41  kryukov
# *** empty log message ***
#
# Revision 1.3  2003/06/17 11:15:26  sherstnv
# An error in memory usage has been fixed.
#
# Revision 1.2  2003/04/20 08:42:58  kryukov
# Use generic rules for compilation
#
####################################################
.PHONY: clean all
INS=-I$(CHEP)/src -I$(CHEP)/include

OBJS=sf_epa.o sf_isr.o sf_lsr.o sf_pdf.o strfun.o

all:$(OBJS)
	@ar r  $(CHEP)/lib/libnum.a $(OBJS)
	@ranlib $(CHEP)/lib/libnum.a 

clean:
	@rm -f *.o

.c.o:
	$(CC) $(CFLAGS) $(INS) -c $<
