Skip to content

Commit

Permalink
Correct typo in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
beck-llr committed Mar 27, 2024
1 parent f9da9fb commit 5954530
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,13 @@ $(BUILD_DIR)/%.pyh: %.py
$(BUILD_DIR)/%.d: %.cpp
@echo "Checking dependencies for $<"
$(Q) if [ ! -d "$(@D)" ]; then mkdir -p "$(@D)"; fi;
$(Q) $(SMILEICXX.DEPS) $(DEPSFLAGS) -MF"$@" -MM -MP -MT"$@ $(@:.d=.o)" $<
$(Q) $(SMILEICXX_DEPS) $(DEPSFLAGS) -MF"$@" -MM -MP -MT"$@ $(@:.d=.o)" $<

# Calculate dependencies: special for Params.cpp which needs pyh files
$(BUILD_DIR)/src/Params/Params.d: src/Params/Params.cpp $(PYHEADERS)
@echo "Checking dependencies for $<"
$(Q) if [ ! -d "$(@D)" ]; then mkdir -p "$(@D)"; fi;
$(Q) $(SMILEICXX.DEPS) $(DEPSFLAGS) -MF"$@" -MM -MP -MT"$@ $(@:.d=.o)" $<
$(Q) $(SMILEICXX_DEPS) $(DEPSFLAGS) -MF"$@" -MM -MP -MT"$@ $(@:.d=.o)" $<

ifeq ($(findstring icpc, $(COMPILER_INFO)), icpc)
$(BUILD_DIR)/src/Diagnostic/DiagnosticScalar.o : src/Diagnostic/DiagnosticScalar.cpp
Expand Down Expand Up @@ -527,7 +527,7 @@ help:
@echo
@echo 'Environment variables needed for compilation:'
@echo ' SMILEICXX : mpi c++ compiler (possibly GPU-aware) [mpicxx]'
@echo ' SMILEICXX.DEPS : c++ compiler for calculating dependencies [$$SMILEICXX]'
@echo ' SMILEICXX_DEPS : c++ compiler for calculating dependencies [$$SMILEICXX]'
@echo ' CXXFLAGS : FLAGS for $$SMILEICXX []'
@echo ' LDFLAGS : FLAGS for the linker []'
@echo ' HDF5_ROOT_DIR : folder where the HDF5 library was installed [$$HDF5_ROOT_DIR]'
Expand Down

0 comments on commit 5954530

Please sign in to comment.