W
W. Bauer
Dear all
The following makefile
CXX= cl
CXXFLAGS = -c -O2
%.o : %.cc
$(CXX) $(CXXFLAGS) $*.cc
lib: cflow_irr.o
gives, when called with "make lib", the error
NMAKE : fatal error U1073: don't know how to make 'cflow_irr.o'
Using instead the explicit dependency
cflow_irr.o:
$(CXX) $(CXXFLAGS) cflow_irr.cc
it works. This is my first makefile problem, so I would appreciate any
hints. The problem is the more then 100 files need to get compiled.
W. Bauer
The following makefile
CXX= cl
CXXFLAGS = -c -O2
%.o : %.cc
$(CXX) $(CXXFLAGS) $*.cc
lib: cflow_irr.o
gives, when called with "make lib", the error
NMAKE : fatal error U1073: don't know how to make 'cflow_irr.o'
Using instead the explicit dependency
cflow_irr.o:
$(CXX) $(CXXFLAGS) cflow_irr.cc
it works. This is my first makefile problem, so I would appreciate any
hints. The problem is the more then 100 files need to get compiled.
W. Bauer