############################################################ # # depend # Creation Date : Nov 1 2000 # Author : Y.Nakaune # ############################################################ TOP = /home/daq/src BIN = $(TOP)/bin INCDIR = $(TOP)/include INCCFG = $(INCDIR)/daq.h $(INCDIR)/setup.h LIBDIR = $(TOP)/lib LIBLOCAL = -L$(LIBDIR) -ldaq LIBDIR++ = $(TOP)/lib++ LIBLOCAL++ = -L$(LIBDIR++) -ldaq # C CC = /usr/bin/gcc CFLAGS = -O2 -Wall # for local library AR = ar rcv RANLIB = ranlib X11LIB = -L/usr/X11R6/lib -lX11 CERN = /cern/pro CERNINC = -I$(CERN)/include/cfortran -Df2cFortran CERNLIBS = -L$(CERN)/lib -lgraflib -lgrafX11 -lmathlib \ -lpacklib -lkernlib -lgrafX11 VMETOP = /usr/local/vmelib VME_INCDIR = $(VMETOP)/include VMELIB = -L$(VMETOP)/lib -lvmelib VMELIBRARY = $(VMETOP)/lib/libvmelib.a VMEINC = -I$(VME_INCDIR) #CRATETYPE = K3922 CAMTOP = /usr/local/camlib CAM_INCDIR = $(CAMTOP) CAMLIB = -L$(CAMTOP) -lcamlib CAMLIBRARY = $(CAMTOP)/libcamlib.a CAMINC = -I$(CAM_INCDIR) #CAM_D = -D$(CRATETYPE) .SUFFIXES : .o .c .h .a .f .cpp .lib .f.o: @echo "Compiling $<" @$(FC) -c $(FFLAGS) $< -I$(INCDIR) $(CERNINC) @echo '...done'