• - this is presently used for builds in Sophia under SunStudio :
    - insert the following line into SunStudio Makefile as pre-build code
    ( export F95FLAGS=-m64 && export BTREE="$$(pwd)" && cd Sources && make modules && mv -f *.mod $$BTREE )
    - insert .WAIT in the build prerequisites between .build-pre and .build-impl
    - create a file Make.inc in the root of the project containing at least F95=f95
    - the project must contain the directory "Sources" which is at the same time the working directory of svn

    git-svn-id: https://lxsd.femto-st.fr/svn/fvn@51 b657c933-2333-4658-acf2-d3c7c2708721

    cwaterkeyn
     
Makefile 298 Bytes
include $(BTREE)/Make.inc

objects = fvn_integ.o
modobjects = fvn_integ.o

all: $(objects)

modules: $(modobjects)
	rm -f $(modobjects)

clean:
		rm -f {*.o,*.oo,*.ipo,*.a,*.mod}

install:
		cp fvn_integ.mod $(BTREE)/modules

$(objects): fvn_integ.f90

%.o: %.f90
		$(F95) $(F95FLAGS) -c $< -o $@