Skip to content
Snippets Groups Projects
Commit 00c8ba3f authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 10/04/2019: Makefile: add $(OBJDIR_MASTER)/MOD directory to INC

parent b00a2e5d
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,7 @@ endif ...@@ -86,6 +86,7 @@ endif
# #
ifdef DO_COMP_MASTER ifdef DO_COMP_MASTER
VPATH += $(OBJDIR_MASTER) $(OBJDIR_MASTER)/MOD VPATH += $(OBJDIR_MASTER) $(OBJDIR_MASTER)/MOD
INC += -I$(B)$(OBJDIR_MASTER)/MOD
endif endif
# #
########################################################## ##########################################################
...@@ -552,10 +553,12 @@ ARFLAGS=r ...@@ -552,10 +553,12 @@ ARFLAGS=r
# #
%.o:%.f90 %.o:%.f90
echo "inc=$(INC)"
$(F90) -I$(OBJDIR) $(INC) -c $(F90FLAGS) $< $(F90) -I$(OBJDIR) $(INC) -c $(F90FLAGS) $<
-mv $(*F).o $(OBJDIR)/. || echo OK $(*F).o -mv $(*F).o $(OBJDIR)/. || echo OK $(*F).o
%.o:%.f %.o:%.f
echo "inc=$(INC)"
$(F77) -I$(OBJDIR) $(INC) -c $(F77FLAGS) $< $(F77) -I$(OBJDIR) $(INC) -c $(F77FLAGS) $<
-mv $(*F).o $(OBJDIR)/. || echo OK $(*F).o -mv $(*F).o $(OBJDIR)/. || echo OK $(*F).o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment