Print

Print


Malcolm,

looking at that I cannot see any FFLAGS definition left, which should be
at least "-c" otherwise it will compile a program from each source file..

Peter.


On Fri, 30 Apr 2004, Malcolm J. Currie wrote:

> #FC    = f77
> FC    = ifort
>
> #  commented out from working (g77) makefile
> ## Default Compaq Alpha
> #FFLAGS = -O4 -c -warn noinfo
> #
> ##  Magog
> #ifeq ($(HOSTNAME),magog)
> #   FFLAGS = -O3 -c -fno-second-underscore -fstrict-aliasing -malign-double -funroll-all-loops -Wall
> #else
> ##  Starlink linux
> #   ifeq ($(MACHINE),Linux)
> #      FFLAGS = -O -c -fno-second-underscore
> #   endif
> #endif
>
>
> ABOBJ  = absynth.o ab_omcrit.o ab_get1r.o ab_func1.o ab_crit.o \
>          ab_grid1.o ab_mkstar.o
>
> .f.o:
>         $(F77) $(FFLAGS) $*.f
>
>
> absynth: $(ABOBJ)
>         $(F77) -o absynth $(ABOBJ)
>
>
> clean:
>         /bin/rm *.o
>

---
Peter W. Draper                        [log in to unmask], 0191 344 3566
Dept. of Physics, Durham University, UK.   http://star-www.dur.ac.uk/~pdraper