Skip to content

Commit f45d384

Browse files
author
Daniel Ruprecht
committed
modified makefile to avoid problems with order of execution
1 parent 9ddf297 commit f45d384

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

obj/Makefile

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,25 @@ include ../makefile.defs
22

33
INC=-I$(CURDIR)/..
44

5-
all: $(patsubst ../src/%.f90, %.o, $(wildcard ../src/*.f90))
6-
7-
%.o: ../src/%.f90
8-
$(F90) -c $(FCFLAGS) $(INC) $< -o $@
5+
all:
6+
$(F90) -c $(FCFLAGS) $(INC) ../src/fluxes.f90
7+
$(F90) -c $(FCFLAGS) $(INC) ../src/boundaries.f90
8+
$(F90) -c $(FCFLAGS) $(INC) ../src/params.f90
9+
$(F90) -c $(FCFLAGS) $(INC) ../src/upwind.f90
10+
$(F90) -c $(FCFLAGS) $(INC) ../src/weno5.f90
11+
$(F90) -c $(FCFLAGS) $(INC) ../src/advection.f90
12+
$(F90) -c $(FCFLAGS) $(INC) ../src/diffusion.f90
13+
$(F90) -c $(FCFLAGS) $(INC) ../src/timestepper.f90
14+
$(F90) -c $(FCFLAGS) $(INC) ../src/parareal_mpi.f90
15+
$(F90) -c $(FCFLAGS) $(INC) ../src/parareal_openmp.f90
16+
$(F90) -c $(FCFLAGS) $(INC) ../src/parareal_openmp_pipe.f90
17+
$(F90) -c $(FCFLAGS) $(INC) ../src/run_parareal_mpi.f90
18+
$(F90) -c $(FCFLAGS) $(INC) ../src/run_parareal_openmp.f90
19+
$(F90) -c $(FCFLAGS) $(INC) ../src/run_parareal_openmp_pipe.f90
20+
$(F90) -c $(FCFLAGS) $(INC) ../src/run_timestepper.f90
921

1022
include dependencies
1123

1224
clean:
1325
rm -f *.o
14-
rm -f *.mod
26+
rm -f *.mod

0 commit comments

Comments
 (0)