Fix makefile for parallel build

master
Salvatore Filippone 2 years ago
parent bcc85e47fd
commit d1def4ea17

@ -20,17 +20,17 @@ lib: objs
sr cm in pb tl: mods sr cm in pb tl: mods
mods: mods:
$(MAKE) -C modules objs LIBNAME=$(BASELIBNAME) F90="$(MPF90)" F90COPT="$(F90COPT) $(MPI_OPT)" $(MAKE) -C modules objs F90="$(MPF90)" F90COPT="$(F90COPT) $(MPI_OPT)"
sr: sr:
$(MAKE) -C serial objs LIBNAME=$(BASELIBNAME) $(MAKE) -C serial objs
cm: cm:
$(MAKE) -C comm objs LIBNAME=$(BASELIBNAME) $(MAKE) -C comm objs
in: in:
$(MAKE) -C internals objs LIBNAME=$(BASELIBNAME) $(MAKE) -C internals objs
pb: pb:
$(MAKE) -C psblas objs LIBNAME=$(BASELIBNAME) $(MAKE) -C psblas objs
tl: tl:
$(MAKE) -C tools objs LIBNAME=$(BASELIBNAME) $(MAKE) -C tools objs
clean: clean:
($(MAKE) -C modules clean) ($(MAKE) -C modules clean)

Loading…
Cancel
Save