Reorganization of solver
I started grouping similar modules in subfolders to ease the expansion process.
This commit is contained in:
parent
37dccb2d11
commit
d9a1869564
13 changed files with 341 additions and 297 deletions
13
src/modules/solver/makefile
Normal file
13
src/modules/solver/makefile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
all: moduleSolver.o electromagnetic.o pusher.o
|
||||
|
||||
electromagnetic.o:
|
||||
$(MAKE) -C electromagnetic all
|
||||
|
||||
pusher.o:
|
||||
$(MAKE) -C pusher all
|
||||
|
||||
moduleSolver.o: electromagnetic.o pusher.o moduleSolver.f90
|
||||
$(FC) $(FCFLAGS) -c $(subst .o,.f90,$@) -o $(OBJDIR)/$@
|
||||
|
||||
%.o: %.f90
|
||||
$(FC) $(FCFLAGS) -c $< -o $(OBJDIR)/$@
|
||||
Loading…
Add table
Add a link
Reference in a new issue