-
- 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 svngit-svn-id: https://lxsd.femto-st.fr/svn/fvn@51 b657c933-2333-4658-acf2-d3c7c2708721
Makefile
328 Bytes
include $(BTREE)/Make.inc
objects = fvn_interpol.o
modobjects = fvn_interpol.o
lib:$(objects)
modules: $(modobjects)
rm -f $(modobjects)
install:
cp fvn_interpol.mod $(BTREE)/modules
clean:
rm -f {*.o,*.oo,*.ipo,*.a,*.mod}
%.o: %.f90
$(F95) $(F95FLAGS) -c $< -o $@
%.o: %.f
$(F95) $(F95FLAGS) -c $< -o $@