Skip to content

Commit

Permalink
Updating makefile to include Preprocess routines in core executables
Browse files Browse the repository at this point in the history
this is because KE_slopes_and_spectra requires preprocess, so anything
that loads Functions will require Preprocess
  • Loading branch information
bastorer committed Mar 7, 2024
1 parent ccb9f20 commit 0aaf0bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ clean:
rm -f *.o
rm -f NETCDF_IO/*.o
rm -f Functions/*.o
rm -f Functions/DirectFilter/*.o
rm -f Functions/Differentiation_Tools/*.o
rm -f Functions/Helmholtz/*.o
rm -f Functions/SW_Tools/*.o
Expand All @@ -166,6 +167,7 @@ hardclean:
rm -f *.[o,x]
rm -f NETCDF_IO/*.o
rm -f Functions/*.o
rm -f Functions/DirectFilter/*.o
rm -f Functions/Differentiation_Tools/*.o
rm -f Functions/Helmholtz/*.o
rm -f Functions/SW_Tools/*.o
Expand Down Expand Up @@ -209,7 +211,7 @@ CORE_TARGET_OBJS := Case_Files/coarse_grain.o \
$(CORE_TARGET_OBJS): %.o : %.cpp constants.hpp
$(MPICXX) ${VERSION} $(LDFLAGS) -c $(CFLAGS) -o $@ $< $(LINKS)

$(CORE_TARGET_EXES): %.x : ${CORE_OBJS} ${INTERFACE_OBJS} ${DIRECT_FILTER_OBJS} %.o
$(CORE_TARGET_EXES): %.x : ${CORE_OBJS} ${INTERFACE_OBJS} ${PREPROCESS_OBJS} ${ALGLIB_OBJS} ${DIRECT_FILTER_OBJS} %.o
$(MPICXX) ${VERSION} $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LINKS)


Expand Down

0 comments on commit 0aaf0bd

Please sign in to comment.