"No rule to make ..."
Gisle Vanem <[email protected]>
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hello list. Sometimes I'm annoyed by a little helpful error messages like: gnumake: *** No rule to make target 'objects/Config.obj', needed by 'bin/kddocwidgets.dll'. Stop. This was before I discovered the default compile rule had changed from: $(OBJ_DIR)/%.obj: %.cpp | $(OBJ_DIR)/config.h $(CC) -c $(CFLAGS) -Fo$@ $< to: $(OBJ_DIR)/%.obj: %.cpp | $(OBJ_DIR)/win-config.h $(CC) -c $(CFLAGS) -Fo$@ $< -------- Since there was no rule to create '$(OBJ_DIR)/config.h', but '$(OBJ_DIR)/win-config.h', I'd wish the error-message could be: gnumake: *** No rule to make target 'objects/Config.obj', needed by 'bin/kddocwidgets-x64.dll' since there's no rule to create '$(OBJ_DIR)/config.h'. Stop. Is there an option for this? If not, would that be wanted or possible? -- --gv