#
#  makefile for GIANT3.15
#
PROG1=usr
PROG2=tof_ugeom
EXEC=gxtof
LIB=/usr/local/group/utility/cernlib/94a/lib
FFLAGS= -G 0 -O -Olimit 2000

$(EXEC)	: $(LIB)/gxint315.o $(PROG1).o $(PROG2).o
	f77 -G 0 -O -Olimit 2000 \
	-o $(EXEC) $(LIB)/gxint315.o $(PROG1).o $(PROG2).o \
	-L. -L$(LIB) -lgeant315 -lpawlib \
	-lgraflib -lgrafX11 -lpacklib \
	-lX11 -lreadline -lkernlib -lbsd 

#gxint315.o : gxint315.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




