#
#  makefile for GIANT3.21
#		5/Oct/1995
#
PROG1=gxuser
#PROG1=gxuser_EMcal
PROG2=gugeom_EMcal
EXEC=GXckov
#LIB=/usr/local/group/utility/cernlib/94a/lib
LIB=/hib1/cern/95a/lib
FFLAGS= -G 0 -O -Olimit 2000

$(EXEC)	: $(LIB)/gxint321.o $(PROG1).o $(PROG2).o
	f77 -G 0 -O -Olimit 2000 \
	-o $(EXEC) $(LIB)/gxint321.o $(PROG1).o $(PROG2).o \
	-L. -L$(LIB) -lgeant321 -lpawlib \
	-lgraflib -lgrafX11 -lpacklib \
	-lmathlib -lkernlib -lisajet -lX11


#gxint321.o : gxint321.f

$(PROG1).o : $(PROG1).f
$(PROG2).o : $(PROG2).f
.f.a:
	f77 -c -G 0 -O -Olimit 2000 $<
	ar rvl $@ $*.o
	rm -f $*.o
# end
