Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:29:54

0001 FFLAGS   = -O0 -ffixed-line-length-none -g
0002 
0003 FC       = f77
0004 LIBS     = -lm 
0005 INCLUDES = -I./
0006 SRCS     = $(wildcard *.f)
0007 OBJS     = $(patsubst %.f,%.o,$(SRCS))
0008 HDRSI    = $(wildcard *.inc) 
0009 HDRSH    = $(wildcard *.h) 
0010 
0011 all: hardcol
0012 
0013 hardcol: ${OBJS} hardcol.o
0014         @echo "Mode 1" 
0015         ${FC} ${FFLAGS} ${INCLUDES} -o $@ ${OBJS} hardcol.o ${LIBS}
0016         @echo " "
0017 
0018 
0019 .f.o:
0020         @echo "1 Working on  $<  |  $@ "
0021         ${FC} ${FFLAGS} ${INCLUDES} -c -o $@ $<
0022         @echo " "
0023 
0024 .F.o:
0025         @echo "2 Working on  $<  |  $@ "
0026         ${FC} ${FFLAGS} ${INCLUDES} -c -o $@ $<
0027         @echo " "
0028 
0029 depend: 
0030         makedepend ${SRCS}
0031 
0032 clean:
0033         rm -rf *.o core *~ hardcol
0034 
0035 tar:
0036         tar cf code.tar Makefile *.F *.f *.inc *.h 
0037 
0038 print:
0039         more Makefile $(HDRSI) $(HDRSH) $(SRCS) | enscript -2r -p listing.ps
0040