####################################################
# Copyright (C) 2001-2003, CompHEP Collaboration
#------------------------------------------------------
# Author: Sherstnev                                #
# Makefile, v1.5 08/01/2003                        #
#----------------------------------
# $Id: Makefile,v 1.7 2003/08/21 10:32:51 sherstnv Exp $
#
# $Log: Makefile,v $
# Revision 1.7  2003/08/21 10:32:51  sherstnv
# Izmenena sustema nazvaniya bibliotek CompHEP
#
# Revision 1.6  2003/06/27 13:04:39  sherstnv
# All libraries are transfered to the lib directroy
#
# Revision 1.5  2003/06/25 18:46:41  kryukov
# *** empty log message ***
#
# Revision 1.4  2003/06/19 07:39:53  kryukov
# Add ../symb/lbl.o to build tab_view
#
# Revision 1.3  2003/05/01 12:16:26  sherstnv
# Sdelana standartnaya peredacha puti k CompHEP v programme
# tab_view.exe
# Sdelan script vizova tab_view iz user area.
#
# Revision 1.2  2003/04/20 08:42:58  kryukov
# Use generic rules for compilation
#
####################################################
.PHONY: clean all

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

OBJS=plot.o view_tab.o

all: $(OBJS) 
	@ar r $(CHEP)/lib/libnum.a plot.o ../symb/lbl.o
	@ranlib $(CHEP)/lib/libnum.a
	$(CC) $(CFLAGS) -o $(CHEP)/tab_view.exe view_tab.o $(CLIBS) -lnum -lserv
	
clean:
	@rm -f *.o
	
.c.o:
	$(CC) $(CFLAGS) $(INS) -c $<
