Fixed an error in the Makefile.in
This commit is contained in:
parent
785de7f42c
commit
07d7b4ff80
2 changed files with 3 additions and 3 deletions
|
|
@ -28,7 +28,7 @@ CXX_INCLUDES = -I../../src/base -I../../src/thermo @CXX_INCLUDES@
|
|||
|
||||
# how to compile C++ source files to object files
|
||||
.cpp.o:
|
||||
$(CXX) -c $< $(CXX_INCLUDES) $(CXX_FLAGS)
|
||||
@CXX@ -c $< $(CXX_INCLUDES) $(CXX_FLAGS)
|
||||
|
||||
%.d: Makefile %.o
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.cpp > $*.d
|
||||
|
|
|
|||
|
|
@ -74,11 +74,11 @@ LCXX_FLAGS = -L$(CANTERA_LIBDIR) @CXXFLAGS@
|
|||
|
||||
# How to compile C++ source files to object files
|
||||
.cpp.o:
|
||||
$(CXX) $(CXX_FLAGS) -c $<
|
||||
@CXX@ $(CXX_FLAGS) -c $<
|
||||
|
||||
# How to compile the dependency file
|
||||
.cpp.d:
|
||||
g++ -MM $(CXX_FLAGS) $*.cpp > $*.d
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $*.cpp > $*.d
|
||||
|
||||
# List of dependency files to be created
|
||||
DEPENDS=$(OBJS:.o=.d)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue