You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
FC=ifort
|
|
|
|
FFLAGS=-mcmodel=large -g -O0 -stand f08 -fpe0 -traceback -check bounds,uninit -warn all -implicitnone
|
|
|
|
#FFLAGS=-c -mcmodel=large -Ofast
|
|
|
|
MODES=mode_create.o
|
|
|
|
OBJECTS=main.o elements.o io.o subroutines.o functions.o atoms.o call_mode.o $(MODES)
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .c .f .f90 .F90 .o
|
|
|
|
|
|
|
|
cacmb: $(OBJECTS)
|
|
|
|
$(FC) $(FFLAGS) $(OBJECTS) -o $@
|
|
|
|
|
|
|
|
.f90.o:
|
|
|
|
$(FC) $(FFLAGS) -c $<
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
$(RM) cacmb *.o
|
|
|
|
|
|
|
|
testfuncs: testfuncs.o functions.o subroutines.o
|
|
|
|
$(FC) testfuncs.o functions.o subroutines.o elements.o -o $@
|
|
|
|
|
|
|
|
.PHONY: cleantest
|
|
|
|
cleantest:
|
|
|
|
$(RM) testfuncs testfuncs.o
|
|
|
|
|
|
|
|
$(OBJECTS) : parameters.o
|
|
|
|
atoms.o subroutines.o testfuncs.o : functions.o
|
|
|
|
main.o io.o build_subroutines.o: elements.o
|
|
|
|
call_mode.o : $(MODES)
|
|
|
|
$(MODES) io.o: atoms.o
|
|
|
|
$(MODES) main.o : io.o
|
|
|
|
testfuncs.o elements.o mode_create.o: subroutines.o
|