####################################################
# Copyright (C) 2001-2003, CompHEP Collaboration
#------------------------------------------------------
# Author: Sherstnev                                #
# Makefile, v1.5 08/01/2003                        #
#--------------------------------
# $Id: Makefile,v 1.8 2003/08/21 10:31:12 sherstnv Exp $
#
# $Log: Makefile,v $
# Revision 1.8  2003/08/21 10:31:12  sherstnv
# Izmenena sistema nazvaniya bibliotek CompHEP
#
# Revision 1.7  2003/06/27 13:04:39  sherstnv
# All libraries are transfered to the lib directroy
#
# Revision 1.6  2003/06/25 18:46:42  kryukov
# *** empty log message ***
#
# Revision 1.5  2003/06/17 11:13:59  sherstnv
# mk_tab now is re-linked by user in $WDIR/usr
# It is necessary for replace U-variables if user develops own ones.
#
# Revision 1.4  2003/06/15 16:42:28  kryukov
# mk_tab.exe use $(CHEP)/usr/userFun.o. It is not good, but ...
#
# Revision 1.3  2003/04/20 08:42:58  kryukov
# Use generic rules for compilation
#
####################################################
.PHONY: clean all

INS=-I$(CHEP)/src -Iinclude -I$(CHEP)/include

OBJS=e_tools.o mk_tab.o
all: $(OBJS)
	@ar r  $(CHEP)/lib/libtab.a  $(OBJS)
	@ranlib $(CHEP)/lib/libtab.a 

clean:
	@rm -f *.o

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