Initial commit with file writing and create mode working for atoms
This commit is contained in:
parent
624886bbe9
commit
8217e8b51c
15 changed files with 2465 additions and 271 deletions
32
src/Makefile
32
src/Makefile
|
@ -1,18 +1,34 @@
|
|||
CC=ifort
|
||||
FC=ifort
|
||||
FFLAGS=-c -mcmodel=large -debug -O0 -stand f08 -fpe0 -traceback -check bounds,uninit -warn all -implicitnone
|
||||
|
||||
OBJECTS= main.o elements.o lattice.o subroutines.o precision_comm_module.o
|
||||
#FFLAGS=-c -mcmodel=large -debug -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 build_subroutines.o $(MODES)
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .f .f90 .F90 .o
|
||||
|
||||
builder: $(OBJECTS)
|
||||
cacmb: $(OBJECTS)
|
||||
$(FC) $(OBJECTS) -o $@
|
||||
|
||||
.f90.o:
|
||||
$(FC) $(FFLAGS) $<
|
||||
|
||||
main.o lattice.o elements.o region.o subroutines.o : precision_comm_module.o
|
||||
lattice.o : subroutines.o
|
||||
main.o : elements.o lattice.o region.o
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(RM) cacmb *.o
|
||||
|
||||
testfuncs: testfuncs.o functions.o subroutines.o
|
||||
$(FC) testfuncs.o functions.o build_subroutines.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
|
||||
testfuncs.o : build_subroutines.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue