Fixed an error in the Makefile.in

This commit is contained in:
Harry Moffat 2008-01-07 22:05:33 +00:00
parent 785de7f42c
commit 07d7b4ff80
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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)