c++.chat - smake: inference rule question
- Robert M. Münch (23/23) Jan 02 2003 Hi, maybe this is a stupid question but I don't made it yet to solve it ...
- Robert M. Münch (6/6) Jan 02 2003 Hi, just forget it. I solved it. config.h was missing :-|| in the direct...
Hi, maybe this is a stupid question but I don't made it yet to solve it ;-)) I have used MAKEDEP to get a list of dependenciers and have setup the following makefile: .SUFFIXES : .exe .obj .asm .c .cpp .cxx .res .rc .cpp.obj : sc -c $*.cpp .cc.obj : sc -c $<.cc .obj.exe : sc $** devinf.obj : devinf.cc devinf.h parser.h parser_tree.h syncml.h config.h SMLFlattener.h namespace.h The prolem is that I get an error message: "don't know how to make config.h". Hmm... I though using the *.cc syntax will of course skip the .h files. What do I need to change? -- Robert M. Münch IT & Management Freelancer Mobile: +49 (0)177 2452 802 Fax : +49 (0)721 8408 9112 Web : http://www.robertmuench.de
Jan 02 2003
Hi, just forget it. I solved it. config.h was missing :-|| in the directory. (Maybe a message: FILE not found would help here ;-)) Further the $*.cpp and $<.cc syntax is wrong as this will append the suffix to the current filename and doesn't filter it. And of course .cc was missing from the .SUFFIXES deritive. Well lots of errors in one posting... Robert
Jan 02 2003