First working version of model builder with several output file types and mode_create working
This commit is contained in:
parent
8217e8b51c
commit
ff3fc5e20a
6 changed files with 418 additions and 142 deletions
13
src/Makefile
13
src/Makefile
|
@ -1,24 +1,24 @@
|
|||
FC=ifort
|
||||
#FFLAGS=-c -mcmodel=large -debug -O0 -stand f08 -fpe0 -traceback -check bounds,uninit -warn all -implicitnone
|
||||
FFLAGS=-c -mcmodel=large -Ofast
|
||||
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 build_subroutines.o $(MODES)
|
||||
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) $(OBJECTS) -o $@
|
||||
$(FC) $(FFLAGS) $(OBJECTS) -o $@
|
||||
|
||||
.f90.o:
|
||||
$(FC) $(FFLAGS) $<
|
||||
$(FC) $(FFLAGS) -c $<
|
||||
|
||||
.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 $@
|
||||
$(FC) testfuncs.o functions.o subroutines.o elements.o -o $@
|
||||
|
||||
.PHONY: cleantest
|
||||
cleantest:
|
||||
|
@ -31,4 +31,3 @@ 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